I need some help with a simple pattern matching and replacement exercise I am doing?
I need to match both of the following two strings in any string in a given context and it is expected that both patterns are to exist in a given supplied string.
1) "width=000" or "width=00" or "width=0"
2) "drop=000" or "drop=00" or "drop=0"
The values can be any values between 0-9 for each case so '000' --> '999' could a valid test case in a supplied test.
string url = Regex.Replace(inputString, patternString, replacementValueString);
Thanks,