Examples util.Regexp usage examples. Example 1: Check for valid identifiersExample 2: Check emails and phone numbers