HighDots Forums  

Use Find & Replace to insert carriage returns

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Use Find & Replace to insert carriage returns in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dilly_Dally
 
Posts: n/a

Default Use Find & Replace to insert carriage returns - 08-19-2008 , 03:35 PM






I am trying to insert carriage returns (which are blank spaces) using find and
replace.
So for instance I have multiple instances of </item><item> which I want to
push down to the next line of code.
I want it to look like this:
</item>
<item>
I have read multiple help files on how to use regular expression and can't
seem to get anything to work.
Any ideas? Thanks, Sg (aka dillydally)


Reply With Quote
  #2  
Old   
Michael White
 
Posts: n/a

Default Re: Use Find & Replace to insert carriage returns - 08-19-2008 , 05:33 PM






Dilly_Dally wrote:
Quote:
I am trying to insert carriage returns (which are blank spaces) using find and
replace.
So for instance I have multiple instances of </item><item> which I want to
push down to the next line of code.
I want it to look like this:
/item
item
I have read multiple help files on how to use regular expression and can't
seem to get anything to work.
Any ideas? Thanks, Sg (aka dillydally)

find: </item><item>
replace:</item>\r\n<item>

Check "Use Reg Expression"

Mick


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.