Be sure to review our Idea Submission Guidelines for more information!
Submission GuidelinesFor people recently met with RegEx, you are lucky if the expression is short and understandable or "human readable".
But there are extreme cases too where it's really a pain to solve the puzzle.
if you'd like to catch e-mail addresses from masses of unstructured data this will work;
/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/
and here is the elaboration;
when colorful it's fun but barely readable still... Here is a Regexper version
This visualizer I came across at https://regexper.com/ is awesome.
Please support the idea if you like...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.