check this out.
How to use regular expressions in vb.net