Regular Expressions? What's That Got To Do With C#?
...Only that I often need to know Regular Expressions for my C# work. However, the online help and resources seem to come up a little short. So, today I diverge a little and discuss this cryptic yet valuable ancillary topic to try to help you through your next Regex dilema. I'm not going to waste time and internet bandwidth explaining what a Regular Expression is , there are plenty of sites for those. But, I will give special thanks here to OmegaMan who compiled and posted the following on the MSDN Regex Forum... OmegaMan's .Net Regex Resources Reference I refer to it often. So let's dive right in. Whenever you are considering using regular expressions, you need to determine what kind of pattern matching problem are you trying to solve. 1) Do I want a regular expression to check a string for validity? 2) Do I want a regular expression to find certain things in my string? 3) Do I want a regular expression so that I can replace patterns in my string? There can be some...