JavaScript RegExp i Modifier
JavaScript RegExp i Modifier
The i modifier is used for specifying the case-insensitive match. In this, it will ignore cases like capital or small and just search for the specified value
Syntax:-
Its syntax is:- new RegExp("regexp", "i") OR /regexp/i
Return:-
Its return is:- matched value