I need to see if my address contains certain fractions, but not all. Addresses like Hwy 1/158 should not match. For now I'm just matching to 1/4, 1/2, 3/4. I may add to the list later depending on data, but for now that will handle the vast majority of my issues.
Currently I'm just testing for "1/2" like so
if (Address.Contains("1/2"))
{
Address = Address.Replace("1/2", "");
Fraction = "1/2";
}
How can I match for multiple fractions, remove those fractions, save the fraction match to later be assigned to Fraction?