need help to create regular expression matching string
www.*.abc.*/somestring
Here * is wild card it can be anyhing like
us, uk
or com, edu
like
www.us.abc.com/somestring
www.uk.abc.edu/somestring
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.
Put
[^.]+instead of asterisks and\.instead of dots, and you’ll be done.[^.]matches any non-dot,[^.]+matches a string of nondots with at least one character.\.matches a dot, because.matches any character.