regexp_replace not working in etext template
Summary:
regexp_replace not working in etext template
Content (required):
We have a requirement to remove extra semicolon from the string. Using regexp_replace, we are able to acheive it but it is working in etext template.
Ex: 'test;test1;test2;;;;;;test3;;' -> 'test;test1;test2;test3'
Can anyone suggest why regexp is not working in etext template. do we have any alternative solution to this ?
Version (include the version you are using, if applicable):
23A
Code Snippet (add any code snippets that support your topic, if applicable):
regexp_replace( 'test;test1;test2;;;;;;test3;;' ,'([;\|])+\1','\1') - Working and o.p is 'test;test1;test2;test3'
Tagged:
0