Regular expressions are sequences of characters that describe and can match patterns and strings.
There is always two parts to working with regular expressions.
1. First, you create the expression that describes the pattern that you're looking for
2. Second, you try and apply it to something and ask if it matches.
We are creating a variable. I'm calling it myRE for my regular expression = /hello/.
var myRE = /hello/;
There is another way of doing it, which would be this.
var myRE = new RegExp("hello");