Advertisement
ssdnet

Untitled

Jan 2nd, 2024
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. Example for the login tag:
  2.  
  3. <a href="./ucp.php?mode=login&amp;redirect=index.php" title="Login" accesskey="x" role="menuitem">'#$A#9#9#9#9'<i class="icon fa-power-off fa-fw" aria-hidden="true"></i><span>Login</span>'#$A#9#9#9'</a>
  4.  
  5. The regex would need to be: ([^"]+(?=" title="Login")), but better would be: href="(.+?mode=login.+?)" to be independent of language etc. by using parts of the url as the "marker" for the regex.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement