I was having a lot of trouble with Regex, but I searched on google and found a pretty good tutorial. If you're having trouble with RegEx, check this out: http://www.sitepoint.com/article/regula ... ssions-php
Enjoy!
Regular Expressions Tutorial
Moderator: General Moderators