Full-Stack Web Application Developer working primarily in .NET/C#, Laravel and Vue.js.
-
LogicalDox
- Mississauga, Ontario, Canada
- shawnevans.com
- @shawnevans
Pinned Loading
-
-
Uot-Project3-Group05/uot-project3-group5
Uot-Project3-Group05/uot-project3-group5 PublicSPA - MERN application
JavaScript
-
-
-
An HTML Tag Regex Explained
An HTML Tag Regex Explained 1# HTML Tag Regular Expression Explained
23The Regular Expression (regex) we will be looking at in this tutorial is designed to match any html tags in a document and return the match. It also includes subgroups for the type of tag (h1, footer, a etc.), any attributes the tag may have, as well as the content contained between the opening and closing tags.
45This regex makes possible a number of useful actions, such as manipulating an html file to strip all attributes from tags, or perhaps removing all content within the tags. These actions may also be used to extract bare html to create templates or for removing hard-coded style tags within text content.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.