Quantcast
Viewing all articles
Browse latest Browse all 12277

Forum Post: RE: OPPID, Parser reguler expression and slash character

Hello SH, Based on what you have posted in your inquiry- if you have a "slash" in your DESIGN_SIZE property then you need to make the parser as shown below. For a tag like 1/2-HHH , the parser would be: ^(? [?\w//]*)-(? [?\w]*) If the DESIGN_SIZE also contains inch marks and perhaps a space as in (1 1/2"), you need to parse those out as well as shown below. For a tag like 1 1/2"-HHH , the parser would be: ^(? [?\w\s///"]*)-(? [?\w]*) The parser above has the \s to parse the space, the // to parse the slash in the fraction and the /" to parse the inch mark. I hope this helps, Tony DeRosa Bentley Plant

Viewing all articles
Browse latest Browse all 12277

Trending Articles