=REGEXMATCH("apple pie", "pie")?=REGEXMATCH("apple pie", "pie")
The text "apple pie" contains the substring "pie". REGEXMATCH returns TRUE when the pattern matches any part of the text.
=REGEXEXTRACT("Order #12345", "\d+")?=REGEXEXTRACT("Order #12345", "\d+")
The formula extracts the first sequence of digits from the text. Here, it finds "12345".
REGEXMATCH with pattern "^cat" returns TRUE if the text starts with "cat". The other options either check the end or use REGEXEXTRACT incorrectly.
REGEXEXTRACT with pattern "@(.+)$" extracts everything after the @ symbol, which is the domain name. REGEXMATCH returns TRUE/FALSE, so options B and D are incorrect. Option C extracts the username, not the domain.
COUNTIF does not support regex patterns like \d{3}, so options B and C fail. Option D uses REGEXMATCH to check each cell for a 3-digit number and sums TRUE values as 1, giving the count. Option D uses ### which is not regex. Option D tries to sum extracted text, which causes an error.