I need to check if two strings match. The first string will not contain underscores the other will. Removing the underscores from the second string would result in the strings being equivalent. Can I perform this check using the Regex.Match() method?
Here is an example of what I'm looking for:
my_table == mytable;
db_rv_term == dbrvterm;
So I just want to match the two strings excluding the underscores.
Thanks in advance!