Skip to content

Instantly share code, notes, and snippets.

@molaie
Created September 17, 2018 18:13
Show Gist options
  • Save molaie/169b241d906c54bc4ccb0b2085a29abf to your computer and use it in GitHub Desktop.
Save molaie/169b241d906c54bc4ccb0b2085a29abf to your computer and use it in GitHub Desktop.
regular expression to find htmltag properties
use following expression to find <htmltag width="ccdc"> and replace with <htmltag>
(width\s*=\s*["'](.*?)["'])
change width to antthing you want
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment