Skip to content

Comment on Ask HN: List of words – List of regexes tool?parent

Comments

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

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.