Thread: help with curl
View Single Post
Old 08-04-2008, 06:19 PM   #4 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

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.
xenon is offline  
Reply With Quote