Regular expressions are used for searching or extracting wanted character(s) in a pattern and from a given expression. The syntax example is:
var expression = /pattern/modifiers;
The primitive or special reference types in JS are created to ease up the operations with primitive values, such as the Boolean type, the Number type and...