Page 1 of 1

Help please with find and replace

Posted: Fri Apr 21, 2017 1:32 am
by drew
Would like to grab the header from here <title>Just Friends</title>

and insert the information into these locations

<meta property="og:title" content="$1"/>
data-a2a-title="$1">

Have tried some of the suggestions in this forum and elsewhere - nothing seems to work

I have changed .html to .txt
This is a trial version if that affects functionality. I'm happy to purchase if this will work
Would like to do this as a batch process since there are several thousand pages to be updated

Re: Help please with find and replace

Posted: Fri Apr 21, 2017 11:05 am
by DigitalVolcano
Are you keeping the title tag or replacing it with the new lines?

I assume the two replace lines you list already exist in the file and you just want to change the $1 part? (This is quite tricky!)

Re: Help please with find and replace

Posted: Fri Apr 21, 2017 4:48 pm
by drew
You are correct, I would like to keep the title tag and pull the information from that tag to populate an og tag and social tag.

Tricky you say, but is it possible?


Edit: deleted verbose reply

Re: Help please with find and replace

Posted: Fri Apr 28, 2017 10:49 pm
by drew
*bump*

Is what I am trying to do possible with Text Crawler?

Re: Help please with find and replace

Posted: Thu May 04, 2017 11:35 am
by DigitalVolcano
Sorry, I can't think of an easy way to do this.

Re: Help please with find and replace

Posted: Thu May 04, 2017 11:58 pm
by drew
Okay thanks