Tests a value against a regular expression and returns a result if only one result is found.
The regular expression to use
The string to test with the regular expression
Tests a value against a regular expression and returns a result if only one result is found.