It's not a tutorial, but if you look at the stripos() function on PHP.NET
there are some good examples of expressions that check for multiple
characters (needles) in a given string (haystack) both in the description of
the function and the user contributed notes at the bottom. Those might be
enough to get you going in the right direction. You could also check the
strpos() function for more examples.

Sorry I can't be of more help, but our "big bompany" Internet connection is
down right now. I get more reliability from my $45 Road Runner connection.

> -----Original Message-----
> From: Aaron Wolski [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 01, 2003 11:34 AM
> Subject: [PHP-DB] Regular Expressions? URGENT
> Hi All,
> Sorry for OT post but need some info.
> Does anyone know a good tutorial that explains regular expressions in
> DUMMY terms?
> I have a list of characters that I need to check to see if 
> they are in a
> string. I tried creating an array of the characters but some 
> of them are
> like  ' " and ` which seem to cause some problems.
> Any good turotials for regular expressions?
> Thanks a bunch!
> Aaron

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to