Quick Regex Question
| From: | Jeff Oien | Date: | Tue, 06 Mar 2001 04:00:13 +0000 |
| Subject: | Quick Regex Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42700@lists.php.net to get a copy of this message | ||
if (preg_match("/[a-Z],[a-Z]/",$text)) {
Can you tell me where I'm failing here. I want to do something
if the string has commas in between words with no spaces.
Like:
blah,blah,blah
Jeff Oien