Hi,
I have an ereg question::.
$data = a big string ,
while (ereg ("testing([^;]*);blah(.*)",$data,$args)) {
$this = $args[1];
$data = $args[2];
}
What I wanna do ,obviously, is to get all the strings between 'testng' and
'blah' in an array.
This will do it, yet when it wont work when special chars such \n exist
between 'testing' and 'blah'.
Any ideas?
--
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]