Regular Expression i in javascript
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
Example Program:- (Editor)

Editor is Loading...
Advertisement
syntax
str.replace(/w/i,"#")
Example Program:- (Editor)
Editor is Loading...
Advertisement
Nhận xét
Đăng nhận xét