问题
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