I'm using regex within import.io to only match fields when they start with a certain string which works correctly. So for example i use the following to match items that start with 'testing testing ': ^(testing\stesting\s.+
It there any way to have it return the value excluding this string (presumably using xpath in addition to regex?) So if the field value is "testing testing 1234" then i would want it to just return "1234" without the "testing testing" at the front?
Obviously I can do this manually afterwards but want to try and find a way of doing it automatically as part of the export?
Thanks,
Dave
You could use (?:\d+) this would get all the digits within a capturing group. I usually use http://regexr.com/ to build regex, it offers great cheatsheets and reference material.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With