Skip to content

Instantly share code, notes, and snippets.

@aneurysmjs
Last active November 8, 2019 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aneurysmjs/67232054a9eb5b60e6401b103334d42f to your computer and use it in GitHub Desktop.
Save aneurysmjs/67232054a9eb5b60e6401b103334d42f to your computer and use it in GitHub Desktop.
regexes tricks
/**
* 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