View Single Post
  #1  
Old 09-13-2006, 11:43 AM
design design is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
design is on a distinguished road
Default \r\n inside <p></p> tags. Removel ?

Hello folks,
could anybody help me with the following:
<p>lets say we have
a paragraph like this
that is displayed on multiple lines.</p>
All lines are ended with a \r\n
what I want to do is transform this result (but only within the <p> tags!)so everything is displayed in one line. (not in the browser window, but in the source code), eg:
Using the example above this would result in:
<p>lets say we have a paragraph like this that is displayed on multiple lines</p>
I'm not very good with Regexes, so if anybody can help me this,
it would be highly appreciated.
thanks
bye -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - \r\n inside <p></p> tags. Removel ?
View Single Post
  #1  
Old 09-13-2006, 11:43 AM
design design is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
design is on a distinguished road
Default \r\n inside <p></p> tags. Removel ?

Hello folks,
could anybody help me with the following:
<p>lets say we have
a paragraph like this
that is displayed on multiple lines.</p>
All lines are ended with a \r\n
what I want to do is transform this result (but only within the <p> tags!)so everything is displayed in one line. (not in the browser window, but in the source code), eg:
Using the example above this would result in:
<p>lets say we have a paragraph like this that is displayed on multiple lines</p>
I'm not very good with Regexes, so if anybody can help me this,
it would be highly appreciated.
thanks
bye -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote