How to Define Patterns in JavaScript with Regular Expressions | TheDevSpace