Im using vbscript and basically i need to validate strings which fits something like
*-*adm*
Thanks in advance
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.
Try
.*-.*adm.*. The.*means “match.(any character)*(zero or more times)”.Here’s a link to Microsoft’s VBScript regex documentation, which might prove useful for you should you need to construct more complicated regular expressions:
http://msdn.microsoft.com/en-us/library/ms974570.aspx