.Net meets RegX
Regex is a powerful text-parsing tool, which has been part of the brand X operating systems for many generations. The Regex Class in .Net (System.Text.RegularExpresion) brings its power to the Windows world. There are a number of .NET examples and tutorials dealing with the use of Regex for validating user input via Web pages. The use of Regex, when extracting information from a collection of wordy text documents has however received much less attention. In this tutorial I will first give a brief overview of the .Net Regex class and its expression syntax. I will then point the audience to a number of Web resources, which can provide assistance in dealing with the rather cryptic Regex expression syntax. The remainder of the presentation will be a discussion how Baynet used the .Net Regex class to extract details about thousands of wordy SMTP email deliver failure reports it receives when sending out meeting announcement and populate a database used to resolve delivery problems with users email notifications. The email deliver reports are text documents formatted according to SMTP reply specifications found in RFCs 5336, 1893, & 821. Time permitting the presentation will close with a brief discussion of the merits of Regex vs. the .Net string class methods when parsing text documents.
- Not Interested