jQuery provides RegExp class, and RegExp has test method which check your pattern. You have to pass the ...
www.jquerywithexample.com