Test Regex SamplestestRegexSamples(pattern, samples) runs a regular expression against a list of sample strings and returns rows you can paste into a sheet…