Wild Edit - Replace Part of Search String
Posted: Wed Jan 18, 2006 2:52 pm
Any chance someone could help me out here please?
I use textpad regualry think it’s great. I’ve spent some time developing a set of regular expressions to go through our entire site and I’ve finally got the code right.
I then found Wild Edit and knew it would be a good product from the textpad creators. I need to change plus 2000 page and I can see that it will do what I want but I can’t make it happen!
I’m trying to locate all instances of (123K) or (123 K) and replace the K in each instance with KB. Of course there could be other sintances of K on the site so I really have to find the numbers along side it.
I've got a formula that works perfectly in Textpad:
Find: \([0-9]+\)\([K]\)
Replace with: \1KB
But it doesn't work in Wildedit, just puts a unregconisable character and KB, lsing the numbers. I've read the intructions and tried just about everything I can think of - does anyone have any better ideas? I't sHTML pages I'm editing if that helps.
Thanks,
Jenny
I use textpad regualry think it’s great. I’ve spent some time developing a set of regular expressions to go through our entire site and I’ve finally got the code right.
I then found Wild Edit and knew it would be a good product from the textpad creators. I need to change plus 2000 page and I can see that it will do what I want but I can’t make it happen!
I’m trying to locate all instances of (123K) or (123 K) and replace the K in each instance with KB. Of course there could be other sintances of K on the site so I really have to find the numbers along side it.
I've got a formula that works perfectly in Textpad:
Find: \([0-9]+\)\([K]\)
Replace with: \1KB
But it doesn't work in Wildedit, just puts a unregconisable character and KB, lsing the numbers. I've read the intructions and tried just about everything I can think of - does anyone have any better ideas? I't sHTML pages I'm editing if that helps.
Thanks,
Jenny