Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

REGEXP_REPLACE

Posted on 2006-11-03
3
Medium Priority
?
933 Views
Last Modified: 2008-02-01
select regexp_replace('ara,felosa,with the -and the *and the ^ and the RT','[[:punct:]]','/[[:punct:]]') from dual;

Hi is it possible in regexp_replace to replace lets say word 'about' with ' \about' and BT with '\BT' in one shot.
Thats where in input string it finds word 'about' replace it with '\about' and 'BT' with '\BT' in one regexp_replace statement
Please reply ASAp.

Thanks
0
Comment
Question by:avi_ny
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
Rajeshsg earned 2000 total points
ID: 17888614
select regexp_replace('ara,felosa,with the -and the *and the ^ and the RT','%[[:alpha:]]%','%\[[:alpha:]]%') from dual;

Can you try with this?

Thanks,
Rajesh


0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question