Javatpoint Logo
Javatpoint Logo

JavaScript Symbol.match Property

The JavaScript Symbol.match is used to identify the matching of a regular expression against a string.

Syntax

Parameters

String

Return value

Return true if a string matches otherwise false.

Browser Support

Chrome 32
Safari 8
Firefox 29
Opera 19

Example 1

Test it Now

Output:

True
False 

Example 2

Test it Now

Output:

false
false

Next TopicJavaScript Symbol




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA