Replace inside a text with certain condition
Posted: Wed Jul 24, 2013 6:41 pm
Sorry, I saw a post seemed to this but I havent very much experience with regex and I dont achieve to translate that case to my case
I want to do that, for instance, with reg ex:
I have this text fragments distributed in a html
href="168417175475895">
href="166317175475895">
href="168417175465295">
and I want Textcrawler transform that in this:
href="168417175475895.html">
href="166317175475895.html">
href="168417175465295.html">
(the number is not important, but I know that there will be numbers and only numbers betwen the "s
(I know that I can to do this with Find: "> and Replace : .html"> in the Standard tab, but with that I obtain too much replaces in other places where I dont want it)
Thank you very much in advance, your software is amazing and it is a very useful tool very well done and very saving time software for many tasks
I want to do that, for instance, with reg ex:
I have this text fragments distributed in a html
href="168417175475895">
href="166317175475895">
href="168417175465295">
and I want Textcrawler transform that in this:
href="168417175475895.html">
href="166317175475895.html">
href="168417175465295.html">
(the number is not important, but I know that there will be numbers and only numbers betwen the "s
(I know that I can to do this with Find: "> and Replace : .html"> in the Standard tab, but with that I obtain too much replaces in other places where I dont want it)
Thank you very much in advance, your software is amazing and it is a very useful tool very well done and very saving time software for many tasks