Welcome Guest! (App Version 3.1)

websitnero logo name

Regexp Methods

Regexp Methods in JS

String Library provides many features for String Manipulation of the various string data types in JavaScript. Have a look at the following table:

Regexp Library Methods
S.No.NameDescriptionExamplesReference
1exec()This method makes a search for a match in a specified string and returns a result array, or null.
2test()This method makes a search for a match between a regular expression and a specified string and returns true or false.
3toString()This method returns a string representing the regular expression.
Further Reading

1. Regexp Object in JavaScript

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.