Problem:
Input: 1b-12
Output: b-2
Desired output: b-12
Code I am currently using:
Regex.Replace("1b-12", @"\b1(\w+)\b", @"$1", RegexOptions.IgnoreCase);
Question:
How do I fix my regex to make 1b = b, but leave 11b as 11b and 11 as 11?
Thank you for any help.