I am using REGEX_REPLACE method in the Oracle 10g but it is not replacing the strings.
Here is what I’m (unsuccessfully) trying:
Select REGEX_REPLACE('Mathew, Sajan K ext (E IT S US 1)','\\([^\\)]+\\)','') "REGEXP_REPLACE"
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try this:
Notice that I just removed the extra escape characters
\, some languages seem to require you to double escape, some don’t.Ref: Oracle SQL Database Reference REGEX_REPLACE