JavaScript String object : match() method