This my expression
(\w+\.)*\w+\s*(@|\({1}\s*at\s*\){1}|\s+at\s+){1}\s*(\S{2,3}\.)?(\w+)(\s*dot\s*|\s*\.*\s*)(com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum|ru)\b
gives [email protected] from l@[email protected] which is wrong
I need to exclude l@[email protected] from possible variants
I have developed this regex to extract emails out of a variety of obfuscated strings rather than validate, as a part of my home assignment. Stuck on l@[email protected] test.
Would you please help me?
Redefenition:
Expression:
(\w+)@(\w+)\.name\.edu
2 strings:
As a result a get:
[email protected] and [email protected]
1 part mustn't be included at all.