I have this example messages:
And I need a result like:
So I need to delete the first and last () with numbers inside but replace the () in the middle by dots. Any help?
Thanks in advance
What are you using? A replace with regular expression extractor?
Do you also want to remove the trailing *?
Make sure to check replace all occurrences.
You can practice and tweak regex with any number of sites, personally I like RegExr.
Oh, I misread, you want to remove leading and trailing. That’s going to be 2 filters, for example the one provided above and then this one:
But there are other combinations.
Thank you Andrew,
It is something like this 2 steps:
^([0-9])|([0-9])$ -------------> To remove the first and last ()
([0-9]*) --------------> To replace the () in the middle with dots
I don’t know if I can do this in one extractor.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.