Re: For the Regex people
| From: | Jason Brooke | Date: | Wed, 27 Sep 2000 23:10:42 +0000 |
| Subject: | Re: For the Regex people | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17817@lists.php.net to get a copy of this message | ||
echo ereg("[gjpqy]", $str);
jason
> I need a little snippet that detects if any one of the following
letters are
> inside a string: "g j p q y " I'm not good enough at reg ex to get
it. Any
> help
> would be appreciated.
>
> Thanks,
> Jason Bryner