Using Variables in JavaScript Regular Expressions | CodeTrail