Skip navigation
Currently Being Moderated

Dreamweaver CS6 Regular Expressions versus BBEdit's GREP

Feb 15, 2013 11:31 AM

Hi

Try this test and tell me why BBEdit's GREP feature works without any problem and can't do the same task on Dreamweaver CS6's Regular Expressions. Please correct me if I'm wrong.

After loading a long text to create HTML page, I need to add a simple <br> tag at the end of each line of the code.

Details of the Test:

This is BBEdit's Pattern used on Find Window that works PERFECT:

Find: $

Replace: <br>

 

Why can't do this simple task on Dreamweaver CS6 on Mac OS X with Regular Expressions on the code? Don't works and ignore the pattern. I try another patterns that are similar and don't works also.

 

And DW Find's window dissapears after pressing the replace all button, that's annoying.

 

Regards,

 

Tom

 
Replies
  • Currently Being Moderated
    Feb 15, 2013 4:32 PM   in reply to Tom Adobe

    Search "\n" and replace with "<br />"

     

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.uk/

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points