I’d like check via jquery a string, thi string can begin by “P” or “M” and after that some number, sample P1456598, M124, P47, M798664645
Any idea ?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
did you had a look at Google yet?
That will do what you want in no time!