Created
June 9, 2015 19:27
-
-
Save alanmoo/2b5ee62c41a4f8ea99eb to your computer and use it in GitHub Desktop.
Regex to remove Angular directives from markup
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
[^"]ng-\w+(-\w+)?=".*?" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure this grabs everything but it's at least a start.