Created
September 12, 2017 23:12
-
-
Save pfist/1c6b56a7f310f1447ff22fadedd36c8c to your computer and use it in GitHub Desktop.
Useful JavaScript Regex Patterns
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
// Test for words/phrases that may or may not contain dashes | |
/^full[-| ]time$|^part[-| ]time$/i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment