I would like to post here a question I received by email. It will be probably useful for other users. It is of course published with the sender permission:
Hi,
I have to do the parser object and extract only the numeric characters of a sequence that is in the subject line and point qulsiasi which always contains the first fixed part TTKSOS followed by 7 digits. I need only the numeric characters.
Example: I just need TTKSOS0001234 1234. Another example TTK0012345 I just need 12345. What should I enter as a rule?
My answer was the following:
You have to use a regular expression match as the capture method. Then use this regular expression:
TTKSOS(0)*(?'numbers'\d*)
Remember to name the field 'numbers'