Mondeo
Centurion
Hi,
If I have the following strings
Vauxhall Corsa 1.2 XS 5 Door
1.4 Citroen Saxo Red
Ford Escort Si 1.6i
I need to pass them to a function and get the engine sizes out. So for these examples
1.2
1.4
1.6
All the engine sizes will be in the same format number - full stop/period -number.
I'm guessing regex might do it but never used before.
Thanks
If I have the following strings
Vauxhall Corsa 1.2 XS 5 Door
1.4 Citroen Saxo Red
Ford Escort Si 1.6i
I need to pass them to a function and get the engine sizes out. So for these examples
1.2
1.4
1.6
All the engine sizes will be in the same format number - full stop/period -number.
I'm guessing regex might do it but never used before.
Thanks