Replacing multiple blank lines with one blank line using RegEx search and replace
问题 I have a file that I need to reformat and remove "extra" blank lines. I am using the Perl syntax regular expression search and replace functionality of UltraEdit and need the regular expression to put in the "Find What:" field. Here is a sample of the file I need to re-format. All current text REPLACE with all the following: Winter 2011 Class Schedule Winter 2011 Class Registration Dates: Dec. 6, 2010 – Jan. 1, 2011 Winter 2011 Class Session Dates: Jan. 5 – Feb. 12, 2011 DANCE Adventures in