Skip to content

Instantly share code, notes, and snippets.

@parsafatehi
Created August 9, 2022 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parsafatehi/a83223ccf0b8b4e4575ca4e01569eea1 to your computer and use it in GitHub Desktop.
Save parsafatehi/a83223ccf0b8b4e4575ca4e01569eea1 to your computer and use it in GitHub Desktop.
regex for finding a tag with specific string
<\s*a[^>]*>(YOUR_STRING)<\s*\/\s*a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment