You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

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'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!