Last active
March 1, 2022 19:21
-
-
Save beeeswax/f3cfd5ef4764dd53cf96 to your computer and use it in GitHub Desktop.
regex reference
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
# This matches CSS: | |
\{([A-Za-z0-9 -:\\"; =%/\n@]*)\} | |
# Good for HTML tags: | |
<([A-Za-z0-9 -:\\"; =%/\[\]_@]*)> | |
# Find/replace duplicate lines (for VS Code) | |
^(.*)(\r?\n\1)+$ | |
$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment