gallen
Well-known Member
- Joined
- Jun 27, 2011
- Messages
- 2,016
Hello,
I'm not new VBA but fairly green on regex.
An example of the cells is:
I need to find the "MM" and then all numeric characters to the left including the period. However sometimes the text may have an space between the numerics and the "MM" so I need to allow for this too
Ultimately I need to extract the 3.0MM or 3.0 MM ONLY.
Reading a few tutorials has just ended up me getting more confused.
Any help would be appreciated
I'm not new VBA but fairly green on regex.
An example of the cells is:
1004006088 ProductName 3.0MM 2X20LM
I need to find the "MM" and then all numeric characters to the left including the period. However sometimes the text may have an space between the numerics and the "MM" so I need to allow for this too
1004006088 ProductName 3.0 MM 2X20LM
Ultimately I need to extract the 3.0MM or 3.0 MM ONLY.
Reading a few tutorials has just ended up me getting more confused.
Any help would be appreciated