Mega Code Archive

 
Categories / Php / Strings
 

Pattern matches

\d = Digit                    \D = Not a digit                    \s = Whitespace                    \S = Not whitespace                    . = Any character (except \n)                    ^ = Start of string                    $ = End of string                    \b = Word boundary