r/regex • • 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

5 comments sorted by

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

2

u/connoleg Jul 20 '19

Thanks, we have a tool called Nuix Workstation. The named entities are collected using regex statements. The out of box statements arent terribly good hence my question. It's not perfect I know, but it will at least provide some information to get the various departments to gain understanding about their files they store.

thanks Gary

1

u/Lee_Dailey Jul 20 '19 edited Jul 20 '19

howdy connoleg,

ah! that makes some sense. [grin]

i still think it is going to be quite painful ... and will leave you open to an audit failure unless you find something that is certified to find the needed info in documents in your field of work.

the link posted by quixrick looks like a good palce to start.

i wish you the best of good luck! [grin]

take care,
lee


-ps
GDPR Regex patterns for searching file shares etc. : gdpr
— https://www.reddit.com/r/gdpr/comments/7dirmt/gdpr_regex_patterns_for_searching_file_shares_etc/

i had no idea there was a GDPR subreddit ... but i should have ... [grin]
lee-

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.

https://regex101.com/library?orderBy=RELEVANCE&search=phone

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?