Skip to content

Instantly share code, notes, and snippets.

@LarrySul
Created May 9, 2019 15:58
Show Gist options
  • Save LarrySul/1f94b4b22040a825698461b9b13ea040 to your computer and use it in GitHub Desktop.
Save LarrySul/1f94b4b22040a825698461b9b13ea040 to your computer and use it in GitHub Desktop.
intro to using regex
let str = "I gave him the apple";
let regex = /apple/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment