A powerful search and replace tool?

They have: 5 posts

Joined: Feb 2002

I have a program that is outputting some very nasty html pages and I would like to have a tool that I can use to replace certain things. Right now I have setup 7 replace routines in DW that I have to open one at a time and execute. This works great but I would like to use wild cards such as replace * where * is the wild card. Is there any standalone tools to do this? I really don't feel like scripting this.

Busy's picture

He has: 6,151 posts

Joined: May 2001

I use editpad (text editor), has a great search and replace function with history. depending on what/how you want to use these wildcards it could be something that could work

They have: 5 posts

Joined: Feb 2002

Hmm, I may need to look at that, I use textpad but I really only use it for it's multiple undos. Looking for a onetime execution replace where it will loop through all my replace commands that are preprogrammed. The more I think about, the more I think I should just write a script to do it. I am not to hot on regular expressions so I will have to learn those.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

ultraedit.com was recommended to me.

Smiling Suzanne

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

There are several HTML edtiors that have some powerful search/replace features (Homesite is one - you may already have this as it is usually packaged with Dreamweaver) in addition to the text editors that Suzanne and Busy recommended. I'm not sure if any of these can do the kind of wildcards sarches you need but they will search/replace in unopened files.

You also might want to try searching for a stand-alone search/replace tool on your favourite download site. There are some out there, but I can't think of any specific titles right now. I know that you can also program extensions for Homesite - maybe you could extend their search/replace function to do your own routines. You could also look around in the Macromedia Developer's exchange and see if someone else has already built a similar function. I'm really not sure how those extensions work though...

They have: 5 posts

Joined: Feb 2002

Thank you everyone for the replies, this is more then enough info to get me started. I like this place, glad I found it.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.