Quote:
Originally Posted by DustyPorViva
That is such an extreme example and you know it :P In fact, I've never seen a regex expression that long before.
|
Neither have I.
Also, what? I've seen much shorter regular expressions to match an email address, you must be mistaken.
Edit:
I just looked it up, you are way off. The regular expression to find an email address (may vary slightly between implementations) is:
NPC Code:
\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b
In this instance using grep