Last active
August 31, 2020 04:02
-
-
Save ashwinkumar2438/c23f5f851407f962c36e3629c3c5f7ac to your computer and use it in GitHub Desktop.
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
var str="\n9 " /* " | |
9 " */ | |
var regex=new RegExp("\n\\d\\s"); // /\n\d\s/ | |
regex.test(str); //true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment