Hello everyone,
I have a string like
$thestring = "\"Hello everyone\" bye";
What I want to extract is: Hello everyone. Instead I get: bye.
I use this command
ereg("([^\"\"]*)$",$thestring,$regs)
and echo $regs[1].
How can I extract what's within double quotes?
TIA
Regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

