Suppose There is a string
A.B....C.......D.........E........F In this string dots (.)
are not having fixed count in between of string. I want the
output to have string with one dot between. I.e.
A.B.C.D.E.F

Answer Posted / sunaksha

select  REGEXP_REPLACE ('A.B....C.......D.........E........F','.{1,}',
'.') FROM DUAL; 

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a full join sql?

593


Does sql profiler affect performance?

558


Is it possible to update views?

542


How do you rank data in sql?

517


What is difference between table and view?

526






Does pdo prevent sql injection?

520


What is the difference between numeric and autonumber?

500


What is vector point function?

571


How do you create an update query?

524


How can I make sql query run faster?

561


how to create a new table in mysql? : Sql dba

548


how to convert dates to character strings? : Sql dba

539


Can we use update in sql function?

584


What is trigger price?

542


What is the life of an sql statement?

526