Test, validate and match regular expressions
Matches international phone numbers with an optional plus-prefixed country code (1-4 digits), an optional area code in parentheses, and multiple digit groups (up to 4, 4, and 9 digits) separated by optional dashes, dots, or whitespace. Handles both Russian formats like +7 (495) 123-4567 and global formats like +1-555-123-4567. The global flag allows finding all phone numbers within a larger text, making it suitable for extraction and validation tasks.