Skip to content

REGEX in Preparser

edited April 2013 in GSA Email Spider
Can the program handle regex in preparser?

Comments

  • SvenSven www.GSA-Online.de
    no
  • can you implement this?
  • SvenSven www.GSA-Online.de
    edited April 2013
    I can but for what? You can do most things with normal search/replace. REGEX is nice but very slow.
  • edited May 2013
    Not everything, say i need to extract a dataset that has only a view and not significat recurring borders - For example: <br/><span>Data_of_interest</span> - With a high propability this borders will be in place also for other Data i dont need!

    With regex i can easy replace  <br/><span> with for example <MYDATA> and </span> with <MYDATAEND> and GSA E-Mail Spider can extract this unique wrapped datasets <MYDATA>Data_of_interest<MYDATAEND>.

    This is possible because in Regex i can also incorporate changing but pattern afflicted signs before <br/><span> and after </span>. Without Regex this will be near impossible.

    So with Regeximplementation GSA E-Mail Spider will be able to spider nearly everything!!!
Sign In or Register to comment.