Metody wyrażenia regularnego JavaScript
const regex1 = /^ab/;
const regex2 = new Regexp('/^ab/');
SAMER SAEID
const regex1 = /^ab/;
const regex2 = new Regexp('/^ab/');