Last active
June 22, 2016 04:24
-
-
Save haroldfredshort/22fb80d7c28d0b8b80157dcb47a19c58 to your computer and use it in GitHub Desktop.
Regex for matching text within an span, which may include newlines and variable spacing, and append a new element after
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
Find: (>parse[\s]+?error.?</span>) | |
Replace: $1 (<dfn data-x="parse-error-"></dfn>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment