What is "matches regex" for?
Regular Expression (RegEx) is a string describing a specific text pattern. So instead of having multiple "contains" conditions, you can match different data with just one Regular Expression.
The collection includes only matches and terminates at the first non-match. The regular expression pattern for which the Matches(String) method searches is defined by the call to one of the Regex class constructors.
egEx (short for Regular Expressions) is a means of matching strings (essentially pieces of text). You create an expression which is a combination of characters and metacharacters and a string will be matched against it.
The collection includes only matches and terminates at the first non-match. The regular expression pattern for which the Matches(String) method searches is defined by the call to one of the Regex class constructors.