scrimba
Learn Regex
Using the Test Method
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Using the Test Method
AboutCommentsNotes
Using the Test Method
Expand for more info
index.js
run
preview
console
let sentence = "The dog chased the cat."
let regex = /the/

let myString = "Hello, World!";
let myRegex = /Hello/;
let result = myRegex;
Console
index.html
-1:08