24192RE: [Clip] Re: Simple search and replace
- Nov 27, 2013
Put it in a clip by itself, save, and then run it on a small piece of text in a new document that has the line that you want fixed. I have a 'scratch area' called QT1 in which I put simple bits of code so I can test them independently. When it works, I copy it to a larger clip, delete what is in QT1, waiting for the next 'quickie test'. This way, you focus on only one thing at a time, and when that works, you can put it into a bigger clip where it is then known to work, and then you can look at other bits to see where problems are. If you have a larger clip that you want to test, insert a ^!GoTo Exit at the point at which you want to stop the execution, and then use QT1 to see your command of interest run.
If it still doesn't work, post a bit of the actual text - it always helps to know what the text actually looks like at the point that you are trying to modify it, which is why the 'gotoexit' trick is so useful.
On 11/27/2013 8:56 AM, email@example.com wrote:
> Tue Nov 26, 2013 12:46 pm (PST) . Posted by:
> "John Shotsky" shotsky1
> I don't see value in the find, when a simple replace would seem to do
> the correct thing:
> ^!Replace "jpg(?=\"><img)" >> "php" ARSW
I added the above line to the clip but nothing happens.
Not knowing exactly where it should go I tried it various places in the
No error, no replacement.
This email is free from viruses and malware because avast! Antivirus protection is active.
- << Previous post in topic