Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

True. I was thinking about a tool that would give you a list of regexes, ranked by some factor that aims to get at the regex pattern that'll be useful. For example, if I gave it, [name@email.com, name2@something.com] it would give all kinds of regex patterns, but ideally point to [a-z]@[a-z].com


view as:

I think you need to consider more specifically what you want. Another possible regex would be /name2?@(?:som)?e(mail|thing)\.com/ or even /(name@email\.com|name2@something.com)/

I was able to find this: https://github.com/noprompt/frak


Legal | privacy