I have a huge list of the following in a large file that contains information about every country in the world.
They are arrays of temperature data, sometimes the spaces vary in length.
[23.5 26.3 29.3 31.9 32.8 31.2 28.8 27.8 28.4 29 26.6 23.7]
I'm attempting to use sublime to write a regular expression but I cannot get my head around them.
So far the closest thing I've got is:
( \S+)\(.+ )
How would one write a regular expression replacing the line to look like this:
Any help would be great thanks.
**Edit I'm using sublime text.