Last active
December 18, 2017 04:09
-
-
Save examinedliving/6314632 to your computer and use it in GitHub Desktop.
RegExp That will match opening and closing tags in the same element. Useful For Replacing Tags in an HTML Element String. Useful for things like sublime find and replace.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 'elem' Should Be Replaced With the name of the tag to matched. | |
/<\/?elem>/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment