G
Guest
Greetings -- I need Regex help!!
For the following string,
"ANCHOR, STEER HORN, 2 1/2 IN X 3 IN X 3/15 IN DIA, 304 SSTL, UNEQUAL LEGS, F/ CC1 & 2 REGEN FLUE GAS LINES C 21, EQUIP W/ 4 IN REFRACTORY"
I need to remove all spaces EXCEPT in cases where the pattern \d\s\d exists (otherwise, from the example, "2 1/2" would become "21/2" which obviously has a very different meaning).
I can't figure out what the match expression is that will enable this functionality to work.
tia,
_howard
For the following string,
"ANCHOR, STEER HORN, 2 1/2 IN X 3 IN X 3/15 IN DIA, 304 SSTL, UNEQUAL LEGS, F/ CC1 & 2 REGEN FLUE GAS LINES C 21, EQUIP W/ 4 IN REFRACTORY"
I need to remove all spaces EXCEPT in cases where the pattern \d\s\d exists (otherwise, from the example, "2 1/2" would become "21/2" which obviously has a very different meaning).
I can't figure out what the match expression is that will enable this functionality to work.
tia,
_howard