Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi all,
I am looking to constrain the "Number" field on a WTPart. I want to use a regular expression to do it. My expression is [M|E|S][A|P]_-[0-9]{8}-[0-9]{2}-[0-9]{1}.I can make this work when contraining global attributes but not with the "Number". What I am looking to do is force the number to be something like this:
MA_-12345678-00-1
EA_-12345678-00-1
SP_-12345678-00-1
The above expression forces the attribute value to be in the format per above.
Any ideas?
Brian