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 are the types pl/sql code blocks?

623


How do you modify a trigger?

535


write an sql query to find names of employee start with 'a'? : Sql dba

592


What is pl sql variable?

518


Differentiate between syntax and runtime errors.

648






what does it mean to have quoted_identifier on? : Sql dba

685


Can a table contain multiple foreign key’s?

588


What is 19 null in sql?

545


What is mutating error in pl sql?

561


Which is better join or subquery?

626


What do you mean by dbms? What are its different types?

559


How do you explain an index number?

543


Explain what is rdbms?

593


In pl/sql, what is bulk binding, and when/how would it help performance?

543


What is a record in pl/sql?

560