Hi, I want to locate patterns such as
12345678 1 23 45 67 89 1 2 34 567 890 and replace the pattern string with a new string. I tried $filter['message'] = eregi_replace("[0-9\s]{4,}",'<string replaced>', $filter['message']); but it does not work on all the above examples. Thanks for the assistance! Nico -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php