Skip to main content

Hi,

I have multiple strings that are in this format 560_20170619_0900, I would like to remove all before and after the '_', leaving me with just 20170619. Is this possible using the attribute trimmer and regex?

Thanks

B

I reckon this can be done usin' only a StringSearcher 'n a regex:

(?<=_).*?(?=_)

Found it here.


I reckon this can be done usin' only a StringSearcher 'n a regex:

(?<=_).*?(?=_)

Found it here.

Thanks Niels, worked perfectly!!


Reply