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

Nhận xét

Bài đăng phổ biến từ blog này

How to set the SDK, NDK and JDK path to android studio?

physicsjs - Increase the restitution value for circle and retangle

Select all values from list box in a single click using javascript