Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Replacing new lines in multi line text box form fields with <br>.

by tachyon (Chancellor)
on Nov 27, 2004 at 06:06 UTC ( #410685=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Replacing new lines in multi line text box form fields with <br>.
in thread Replacing new lines in multi line text box form fields with <br>.

You're right. s/\r\n|\r|\n/<br>\n/g is better.

cheers

tachyon

  • Comment on Re^3: Replacing new lines in multi line text box form fields with <br>.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2016-06-30 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.