How to use the String match method

How to use the String match method