How to create a regex in JavaScript

Regex
Last updated Nov 11, 2017
let pattern = /hello world/;