Skip to content

Instantly share code, notes, and snippets.

@malitta
Created October 16, 2012 10:51
Regular Expression to remove 'contenteditable' from an element

RegExp: /contenteditable(([ ]*)?\=?([ ]*)?"(.*)")?(\=([a-z0-9]*)\s)?/gi
Pattern: contenteditable(([ ]*)?\=?([ ]*)?"(.*)")?(\=([a-z0-9]*)\s)?

http://regexr.com?32fon

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