javascript how to use regular expression literal code example Example: console regex console\.log\(([^)]+)\);