match()

Description :

This method searches regular expression in the given string and returns matched result as an array

Syntax :

string.match(RegEx)

Input Parameters :

RegEx
The regex to be passed to find a string in the given string

Return Values :

Returns matched result as array if found otherwise returns null.


Test this method :

Test Result :   
Your Code :