I have a file with country names and then the mobile country code prefix for that country like this:
United Kingdom +44 ...more fields United States Virgin Islands +1 ...more fields
I need to get the country name and the mobile prefix. So the regular expression reads like: read all words from the beginning of the line and then a string that starts with a plus and one more more digits and then stop.
I tried a few things with grep, cut, and even sed but I can't get it.