Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Java 8

"
(?<=(?:href|action|src)=[\"'])[^\"']+
"
gm

Description

Extract any link or endpoint from 1- HTML page source 2- HTTP responses 3- JS files

Feel free to contact me on Telegram https://t.me/c4ir0 if you:

  • are interested in discussing this regex
  • need assistance with any regex-related queries
  • want to challenge me (I'm enthusiastic about this part)
Submitted by Cairo - a year ago (Last modified a year ago)