Regex

Credits: Material from Regular Expressions Cheat Sheet by Dave Child

Use with http://www.regexr.com to generate regular expressions.