Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a file that I want to extract data out of. I normally use web scraping to get the info I need, except in this case the information isnt readily "visible" for scraping needs. Reason being -- the data I need is called inside of a parent class Anyways, thats beside the point....

Each class is uniquely identified by a date. However the information I want is listed right below this as a particular class ( but they are always called the same thing ).

What I would like to do is use a macro to loop thru the file and each time it comes across this class ( we'll call it a string "GET_THIS" ), I'd like to call it "GET_THIS"+1 . Ex: The first instance would be GET_THIS1 The second instance would be GET_THIS2 The third instance would be GET_THIS3 ....

Until end of file.

Any ideas or input would be awesome!

share|improve this question
Just to clarify, you are looking to replace all instances of the string "GET_THIS" with "GET_THIS"+ a number that increments as it finds/replaces instances of "GET_THIS"? –  Ƭᴇcʜιᴇ007 Aug 15 '12 at 20:23

1 Answer 1

use jquery in a browser instead of notepad++.

Post an example snippet of the HTML and I or someone else can provide a solution.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.