Forum Moderators: open

Message Too Old, No Replies

any textpad experts out there?

need to be replace certain text that starts with x and ends with y

         

walkman

6:41 pm on Jun 6, 2004 (gmt 0)



I need to replace all the words (with textpad) that start with www_ and end with _com. I tried following their Regular Expressions help files but I had no luck. The rest of the text (between www_ & _com)varies so I would need a wildcard thingie. If it wasn't thousands of entries, I'd do it by hand...

can anyone help?

thanks in advance,

kwasher

9:09 pm on Jun 6, 2004 (gmt 0)

10+ Year Member



Can you do it in two sweeps? (First do the www_ then go back and do the _com.)

walkman

9:37 pm on Jun 6, 2004 (gmt 0)



yeah but the text bewtween them still remains

it's like:
www_domain_com
www_different-domain_com
www_another-different-domain_com
and so on...

kwasher

12:44 am on Jun 7, 2004 (gmt 0)

10+ Year Member



Well, you can use the regular expression checkbox, then type in

www.*.com

But of course its going to change them all to the same thing. But you can use various wildcard stuff that way.

walkman

12:55 am on Jun 7, 2004 (gmt 0)



kwasher,
I tried that. Got a can't find "regular expression...

....

kwasher

1:46 am on Jun 7, 2004 (gmt 0)

10+ Year Member



Press F8 while in your document (search and replace funtion). The search and replace function window opens and its in the little box, on the lower left.