I need a regular expression for an regularexpressionvalidator control where an input field must contain exactly 1 of:
“youtube.com/watch?v=” OR “vimeo.com/” OR “youtu.be/”
If any of these strings occur more than once or not at all, the expression should fail so I can notify the user.
Regex is not required here!
you can use String.Contains method
Or if you need regex