regex and

Solutions on MaxInterview for regex and by the best coders in the world

showing results for - "regex and"
Viktoria
12 Aug 2018
1/[]/
2
3
4let bigStr = "big";
5let bagStr = "bag";
6let bugStr = "bug";
7let bogStr = "bog";
8let bgRegex = /b[aiu]g/;
9bigStr.match(bgRegex);
10bagStr.match(bgRegex);
11bugStr.match(bgRegex);
12bogStr.match(bgRegex);