Correct, Regex, or regular expressions, is the defacto method programmers use to find all types of patterns such as dates, strings, number patterns like phone number, ip addresses, and basically anything that can be broken down into a pattern. It came out of Perl programming and is in most languages now including JavaScript.