RE: [PHP] regex expession problems

2002-03-27 Thread Martin Towell
oth of these should be removed ? -Original Message- From: Carl E Shmidt [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 11:41 AM To: [EMAIL PROTECTED] Subject: [PHP] regex expession problems But hey, who doesn't have em eh? Anyway, here's my predicament. I want to l

[PHP] regex expession problems

2002-03-27 Thread Carl E Shmidt
But hey, who doesn't have em eh? Anyway, here's my predicament. I want to look for either the string "http://"; or for 1 or more spaces in a string. Here's the regex I've got preg_match("/http:\/\/ | [[:space:]]/i",$valToEval); I can get each test case working individually, but as soon as I c