JavaScript RegExp Object
The ignoreCase property specifies whether or not the "i" modifier is set.
This property returns true if the "i" modifier is set, otherwise it returns false.
![]()
The ignoreCase property is supported in all major browsers.
Check whether or not the "i" modifier is set:
The output of the code above will be:
JavaScript RegExp Object
Your message has been sent to W3Schools.