1

I have a html link structure like that <a href=dynamicURL>LinkName</a>.
I want to extract the LinkName, so I can take the dynamic URL from the link for next HTML Request.

Is there any solution with a script or something like that?

Aliaksandr Belik
  • 12,725
  • 6
  • 64
  • 90

1 Answers1

0

Use a Regular Expression Extractor with the regex:

<a\shref=([^>]+)>LinkName<\/a>

\s = space
[^>]+ = everything not equal to >
\/ = escaping the forward slash

Try this site, it makes learning regular expressions easy.

Oliver Lloyd
  • 4,936
  • 7
  • 33
  • 55