I am using this method to try find a match, in an example:
Regex.Match(\"A2-TS-OIL\", \"TS-OIL\", RegexOptions.IgnoreCase).Success;
I got a tru
If you only want a match if the test string starts with your regular expression, then you need to indicate as such:
Regex.Match("A2-TS-OIL", "^TS-OIL", RegexOptions.IgnoreCase).Success;
The ^ indicates that the match must start at the beginning of the string.
^