How to remove last character by using Regular Expression?

Hi connections,
I’m going through some data validation process. By using Regex how should I remove last character of the sentence.
Ex:- TERM is active (REC SCI8/1000002337).

From this I need to get : SCI8/1000002337

Hi @pnikki - So you need ignore (REC too and the end ) right? Please confirm

give a try on following regex pattern

@ppr - you beat me :wink:. I was about to share this…


1 Like