Why don't you do a function with an ereg inside?
I don't think that exist a command like that...
Rom
----- Original Message -----
From: Elliot L. Tobin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: [PHP] regexps
Is there a way to call one regexp on multiple variables, in one statement?
In Perl, I'd do:
s/this/that for ($var1, $var2, $var3);
tia.. and please reply directly.
[EMAIL PROTECTED]
--
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]
--
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]