Definition: The RegExp object is used to define Regular Expressions. This is not a reserved word so you can declare your own variable or function called RegExp but if you do then you will not be able to use the RegExp object.
Examples: re = new RegExp(pattern,'g');

