http www tutorialchip com php preg match examples…

http://www.tutorialchip.com/php/preg_match-examples-7-useful-code-snippets/