Last active
November 8, 2019 14:39
-
-
Save aneurysmjs/67232054a9eb5b60e6401b103334d42f to your computer and use it in GitHub Desktop.
regexes tricks
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
/** | |
* match first character after white space | |
*/ | |
const firstAtWhiteSpace = /(^|\s)[a-z]/g; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment