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 / sreenivasulu sangatipalli

SELECT regexp_replace('A...B..C.D......E....F', '[.]+', '.') FROM DUAL;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are all the different normalization?

743


What is the difference among union, minus and intersect?

729


What is the difference between left join and right join?

667


What are the two characteristics of a primary key?

664


What is pl sql script?

728






What is schema in sql?

683


Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

751


How do you determine the current isolation level? : Transact sql

749


What is the difference between union and union all command?

738


What is cursor in pl sql?

764


Is sql scripting language?

723


What is rank dense_rank and partition in sql?

749


Why do we need a foreign key?

755


when is the use of update_statistics command? : Sql dba

684


How global cursor can be declare with dynamic trigger ?

1942