Test, validate and match regular expressions
Validates Malaysian phone numbers with an optional +6 country code prefix. Supports multiple formats: continuous digits (0123456789), space-separated groups (012 345 6789 or 012 3456 6789), and hyphenated variants (012-345 6789 or 012-3456789). Requires a leading zero followed by 9-10 digits, covering both mobile and landline numbers. Commonly used for contact form validation in Malaysian applications.