Skip to content

Instantly share code, notes, and snippets.

@alanmoo
Created June 9, 2015 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanmoo/2b5ee62c41a4f8ea99eb to your computer and use it in GitHub Desktop.
Save alanmoo/2b5ee62c41a4f8ea99eb to your computer and use it in GitHub Desktop.
Regex to remove Angular directives from markup
[^"]ng-\w+(-\w+)?=".*?"
@alanmoo
Copy link
Author

alanmoo commented Jun 9, 2015

Not sure this grabs everything but it's at least a start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment