Paramveer, my code works fine as it is - it is not a question - just something to put up that may assist someone if they come across the same issue.


I was emphasising that if you use a standard Regex that works elsewhere, it is not guaranteed to work inside ServiceNow.


The amedned code will will work instead



Cheers