replace multiple line breaks with one new line charatcer in oracle server using REGEXP_REPLACE

元气小坏坏 提交于 2019-12-11 03:37:41

问题


How to replace multiple line breaks with one new line charatcer in oracle server using REGEXP_REPLACE.


回答1:


I think this is what you are after. Dealing with carriage returns can get tricky depending if you are on Windows or UNIX but you'll get the idea. This was run in Toad, which uses a regular expression which looks for occurrences of two or more newline characters in a row and replaces them with one newline.



来源:https://stackoverflow.com/questions/32518929/replace-multiple-line-breaks-with-one-new-line-charatcer-in-oracle-server-using

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!