What is the output for the below lines of code? var pattern = /(dr.*ing)/; var sentence = "The day started drizzling, but now it is heavily raining."; pattern.test(sentence); document.write(RegExp.$1);
Reveal answer
Fill a bubble to check yourself