in reply to Re: Replace new line char with br
in thread Replace new line char with br

Considering that $ can match before or after a newline, and a regular expression will match the first place in a string that it can, this will replace the last character before the newline with the tag. Which isn't what you wanted to do...
  • Comment on Re (tilly) 2: Replace new line char with br

Replies are listed 'Best First'.
Re: Re (tilly) 2: Replace new line char with br
by Monky Python (Scribe) on Aug 19, 2001 at 15:01 UTC
    of course you're right.... copy and paste are sometimes not your friends.....

    MP