Forum Moderators: open

Message Too Old, No Replies

Find and Replace using RegEx

Simple One

         

Bennie

7:08 am on Apr 7, 2006 (gmt 0)

10+ Year Member



I am trying to get rid of some crappy code between say

</body>
5147/";
</html>

so it's nice and clean.

</body>
</html>

I am using Dreamweaver. Could somone help me out with an expression to use for this. The code is unique for each page ;)

Cheers

Bennie

11:01 pm on Apr 11, 2006 (gmt 0)

10+ Year Member



Perhaps I have worded my Q wrong.

I want to replace a base href in the head of my site - sitewide with a f and r.

I am using an external stylesheet and it's in the way.

Is there a regular expression to do such a thing?

coopster

1:11 am on Apr 12, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Search For:
<base href=[^>]*>

Replace With:
<base href="myNewValue">