Textpipe: extracting text between two tags

Without any further help from yourself, I can only guess that you want to remove all <div> elements whose first child is another <div> element with a class attribute equal to "article".

After a quick look at the TextPipe documentation it looks like it won't do anything like XPath expressions, but you should experiment with a Restrict to between tags filter and a Remove All subfilter.

Bear in mind that it is possible that TextPipe won't do what you want and you may have to look elsewhere for a solution.



perl parse

Popular Topics

Recent Languages