Regex question. I have city and state in a single field. The comma is NOT always present, so I can't use that as a delimiter. City names can be 1-2 part names. State names are always 2-3 uppercase characters.
How can I regex this.
I need to use a parse tool. This regex expression does not work: ^.*?[A-Z]+
| Field1 | City | State |
| Larapinta, Brisbane, QLD | Larapinta Brisbane | QLD |
| Blacktown Sydney NSW | Blacktown Sydney | NSW |
| Coomera QLD | Coomera | QLD |
| Manly Vale NSW | Manly Vale | NSW |
| Wingfield SA | Wingfield | SA |