in reply to Re^3: LaTeX: regex or xpath?
in thread LaTeX: regex or xpath?

Thank you, Eliya. That code is clear and now my problem is solved.