Regexp testing

Run Settings
LanguageJavaScript
Language Version
Run Command
const reg = /roar/; const str = 'aproarex'; const testStrings = ['mumm', 'proarp', 'roa', 'rr', 'roarb']; testStrings.forEach( item => { console.log(item+': '+reg.test(item)); }); const str1 = "onBrandCard"; let newStr = str1.match(/[A-Z][a-z]+/g); console.log(newStr);
Editor Settings
Theme
Key bindings
Full width
Lines