Say I have the following string:
pos/S881.LMG1810.QE009562.mzML
And wish to select the beginning from that string:
pos/S881.
I can use the following regex expression to get the start of the string (^), then any character (.), any number of time (*), ending with a decimal point (\.)
^.*\.
However this terminates at the last decimal in the string and thus gives me:
pos/S881.LMG1810.QE009562.
How do I terminate the selection at the first decimal point?