Perl: Regular Expressions
Regular Expressions
Using a regex to match against a string returns either true or false
Sometimes you just want to see if there is a match
Other times you might want to do something with the matched string (replace it or store it in a variable)