I am using this statement
if (/(abuse\@.*?)\s/)This works fine as long as the email address is surrounded by white space. But sometimes the email address is enclosed with special characters, like this <abuse@tel2.con.it> or [abuse@bog-cnn.jp] or \abuse@fars.stores.info\
((abuse\@.*?)\s/) captures the ending non-alpha characters like this abuse@tel2.con.it> which I don’t want.
I tried this to tighten it up (/(abuse\@[\w\.-_]+)\s/) but it finds nothing.
What is correct syntax??20040620 Edit by Corion: Added formatting
In reply to Capture Email address by JJB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |