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 / anuradha

SELECT REGEXP_REPLACE (
REPLACE ('A.B....C.......D.........E........F', '.', ' '),
'( ){2,}',
'.')
FROM DUAL;

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is “go” in t-sql? : Transact sql

592


What types of commands can be executed in sql*plus?

540


How do I restart sql?

511


Which are the different character-manipulation functions in sql?

540


what is 'mysqlimport'? : Sql dba

565






Is pl sql a scripting language?

577


how can we submit a form without a submit button? : Sql dba

526


What is case function?

588


How to revise and re-run the last sql command?

640


Where can I learn sql for free?

498


How can you fetch first 5 characters of the string?

540


Sql technical questions

765


what are rollup and cube in t-sql? : Transact sql

652


What is sql keyword?

547


what is column? : Sql dba

562