🚧 under construction
JS ⟩ value ⟩ object ⟩ regex ⟩ create
creating RegExp object.
const re = /ab+c/; // regular expression literal (static) const re = new RegExp('ab+c'); // RegExp constructor (dynamic)
JavaScript Guide ⟩ Regular expressions ⟩ Creating a regular expression
Last updated 1 year ago