Thứ Tư, 3 tháng 2, 2016

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

     str.replace(/w/i,"#")


Example Program:- (Editor)


Editor is Loading...

Advertisement

0 nhận xét:

Đăng nhận xét

Popular Posts

Tìm kiếm Blog này

Được tạo bởi Blogger.

Morning Charts 07/01/2019 SPX