Category Archives: Regular Expressions

Introduction to Regular Expressions

Monday, July 28th, 2008


Regular Expressions are a powerful and useful tool, when first starting with regular expressions they look like gibberish but with this article you can start to decipher the mysteries of Regular Expressions


Stripping HTML Tags From Text using Regular Expressions

Monday, July 28th, 2008


To strip html from a string using regular expressions we use the following regex. $string =~ s///g This will match the pattern of a html tag removing everything from an opening tage to the next closing tag.