Test, validate and match regular expressions
This regex loosely validates phone numbers by using a lookahead to ensure the string contains at least 7 digits (the minimum for many phone number formats) and is at least 7 characters long. It ignores formatting entirely, so separators like dashes, spaces, dots, or parentheses are all accepted. Ideal for quick, lenient filtering where strict phone format validation isn't required.