Answers for "regex get html tag"

1

regular expression to look for html tags

<.+?>
Posted by: Guest on December-21-2020
0

regular expression match html tag

/<\s*a[^>]*>(.*?)<\s*/\s*a>/g
Posted by: Guest on August-31-2021
0

extract html tag using regex

(<span>|<a href="#">|<div onclick="callMe\(\)">)(.*)(</span>|</a>|</div>)
Posted by: Guest on September-17-2020

Browse Popular Code Answers by Language