Skip to content

Instantly share code, notes, and snippets.

@ashwinkumar2438
Last active August 30, 2020 19:51
Show Gist options
  • Save ashwinkumar2438/d5cebcbfd779dc34bd2b5c13e61eb9e8 to your computer and use it in GitHub Desktop.
Save ashwinkumar2438/d5cebcbfd779dc34bd2b5c13e61eb9e8 to your computer and use it in GitHub Desktop.
var str="\n9 " /* "
9 " */
var regex=/\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