look into the s modifier...it makes a dot match a newline as well, where
normally it wouldn't
jack
-Original Message-
From: George Whiffen [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 1:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ereg_replace - How do I stop it being
Thanks Jack,
preg_replace with an s modifier works a treat.
I'm still curious as to how to get ereg_replace to work as well. Everything
I read about regex/Posix Regular Expressions, seems to suggest that a ?
should also work with ereg_replace!
George
Jack Dempsey wrote:
look into the s
2 matches
Mail list logo