I need to extract a variable amount of characters from a string and would like some help.
I have an attribute in the following format:
id-Structure-1.1.13.1.6.1
I need to extract the first 4 numbers (1.1.13.1)
Where it's get tricky, is that each number can have a value that may varies between 1 and 6000
so it's possible to see "id-Structure-1.5474.768.322.22.12" where I'd like to extract (1.5474.768.322)
Any help would be much appreciate
thanks