J
jp2msft
Prior to now, my RegEx expression was as follows:
RegEx pattern = new Regex(@"[BCX][P057]\d{5} \d{4} \d{2}");
That has worked, but now I have been asked to enable the ability for our
expressions to include an underscore ('_') at each of the character
positions. (This is an SQL Query, and the underscore acts as a wildcard for
individual characters)
Is there a nice way to modify my RegEx expression to include the underscore
in a smart manner? (I'm not very good at creating RegEx expressions)
RegEx pattern = new Regex(@"[BCX][P057]\d{5} \d{4} \d{2}");
That has worked, but now I have been asked to enable the ability for our
expressions to include an underscore ('_') at each of the character
positions. (This is an SQL Query, and the underscore acts as a wildcard for
individual characters)
Is there a nice way to modify my RegEx expression to include the underscore
in a smart manner? (I'm not very good at creating RegEx expressions)