I want a .net regular expression for the following:
The user can enter a value like tcm:12312312-221231323 or tcm:23121231-23423423-34234234
All of the entries except ‘tcm’ and the hyphen will be numeric. There will be either one or two hyphens.
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.
That’s either tcm:(eight digits)-(nine digits) or tcm:(eight digits)-(eight digits)-(eight digits)
If you’re looking for either tcm:(some digits)-(some digits) or tcm:(some digits)-(some digits)-(some digits)