This regex match group (country & Prefix) Separated by spaces or \s+ ↓↓ Example ↓↓ Australia 61 Dominica 1 (767) República Dominicana 1 (809/829/849)
Group 1 (Country) | Group 2 (Prefix) |
---|---|
Australia | 61 |
Dominica | 1 (767) |
República Dominicana | 1 (809/829/849) |