Created
September 27, 2013 15:04
-
-
Save idac73/6730004 to your computer and use it in GitHub Desktop.
Regex to remove string
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
element.className.replace(/(?:^|\s)disabled(?!\S)/g,''); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment