Regular Expression i modifier is used to find all the match with case-insensitive, that mean will not consider the capital letter and small letter difference.
syntax
str.replace(/w/i,"#")
Example Program:- (Editor)
Editor is Loading...
Output:-
Advertisement
Share
Post a Comment
for "Regular Expression i in javascript"
Post a Comment for "Regular Expression i in javascript"