Skip to content

Commit 949c16e

Browse files
Completed Task
1 parent d50f243 commit 949c16e

File tree

1 file changed

+3
-0
lines changed
  • Regular-Expressions/Specify Upper-and-Lower-Number-of-Matches

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
let ohStr = "Ohhh no";
2+
let ohRegex = /Oh{3,6}\sno/;
3+
let result = ohRegex.test(ohStr);

0 commit comments

Comments
 (0)