08-04-2008, 06:19 PM
|
#4 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
well...you parse the content  Use regex if nothing else is available. What are we supposed to tell you?
PHP Code:
preg_match('/\b(.*?@.*?\.[a-z\.]{2,6})\b/si', $data, $matches);
This is the most basic regex you could use, I think.
PS: why did you open 2 threads for this?
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|