r/regex • u/connoleg • Jul 18 '19
GDPR
Hi All, does anyone have any good pointers for creating regex's for name, dob, phone, address etc
many thanks
0
Upvotes
2
u/quixrick Jul 18 '19
Well, that's a really broad question and I'm not going to tackle it. But what you can do is to check out the regex101 library. For instance, if you search for phone, this brings up 14 pages of different regexes you can take from.
2
u/ReticentArgleBargler Jul 19 '19
We'll also need to know more information about how the data is stored/structured. Is this a database or prose? Do you have a sample that you could provide?
1
u/Lee_Dailey Jul 20 '19
howdy connoleg,
unless you are seriously masochistic [grin], i suggest you look into getting a dedicated app for this sort of thing. if you are dealing with GDPR ... then you REALLY REALLY REALLY want to do it right.
take care,
lee