Removing all newlines?

Removing all newlines?

1
NewbieNewbie
1

    Mar 02, 2005#1

    When posting html code in a forum, the layout of the post gets f8cked-up because of the newlines (\n) in the text.
    I would like UltraEdit to just strip all the newlines. Is this possible?
    I already saw the CR/LF to Wrap function, but that just doesn't seem to solve the problem.

    21
    Basic UserBasic User
    21

      Mar 03, 2005#2

      I am not visualizing what your saying. However, sure sounds like you can use your mouse, highlight the offending characters/text (including that which spans multiple lines) then hit ctrl-r (which brings up the search replace dialog box).
      Do your replace of old with new as desired.

      If you set the "regular expressions" check box, you can use expressions such as ^p in either the search box or replace box (or both). Do a help on regular expressions for more details of what symbols are available and what they mean.

      If you like the effect you get with your replace, do this again only this time on this time first click "macro" "record" fill out panel as desired. do your replace and then click "macro" "stop recording". Depending on how you filled out that panel, you now have a key that when pressed will do the global replace for you.