I know this is a very basic question, but I was unable to find an answer. I am trying to use the function validateRegexData in C#. All I am doing is to validate something that's supposed to be alphanumeric. So an example I saw had this:
Regex.IsMatch(inputString, "^[a-zA-Z0-9]+$")
I get only PART of the second parameter: why is there a "+$" sign? Believe me, I tried reading the documentation for an hour, and still didn't get why the parameter starts with "^" and ends with "+$". I saw somewhere that $ indicates that everything up until \n is fair game as validation (meaning inside the first parameter).. but that still doesn't explain the + sign, and I'm not even sure if what I read applies here. Thank you so much in advance.
Not that it makes a difference, but it'll be used in SSIS Sorry - I had used the wrong name, I meant to say "Regex.IsMatch" !!