This post touches on four major regular expression subjects: 1. String Comparison - does a string contain a particular sub-string? 2. Splitting a string into segments - we will take an IPv4 address and retrieve its dotted components 3. Replacement - modifying an input string 4. Stricter input validation - how to harden your expressions.