Last active
October 24, 2016 08:37
-
-
Save netsi1964/13cfe0fb45073d6918ba8bba26661998 to your computer and use it in GitHub Desktop.
Regexp remove data attributes
This file contains hidden or 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
reactHTML.replace(/data(.*?)=['"](.*?)['"]/ig,'') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment