Test, validate and match regular expressions
Validates Sri Lankan mobile phone numbers in local 10-digit format. The number must start with '07', followed by a third digit from 0,1,2,4,5,6,7,8 (excluding unused prefixes like 073 and 079), then seven additional digits. Commonly used in contact forms and input validation for apps serving Sri Lankan users; the global and multiline flags enable checking multiple numbers across separate lines.