General techniques

To solve real world problems:

  1. Check your work by creating simple positive and negative controls.
  2. Combine regular expressions with Boolean algebra.
  3. Create complex patterns using string manipulation.