C# .NET Regular Expressions, Projects and Solutions
- 4 hours on-demand video
- 2 articles
- 8 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to Udemy's top 3,000+ courses anytime, anywhere.Try Udemy for Business
- Confidently use regular expression as a powerful text processing tool for data parsing, cleanup and preparation
Minimize effort spent on custom development for data cleanup
Gain practical tips to let Regular Expression do bulk of the work for data preparation
- Understand potential performance issues and techniques to address them
Introduce .Net Regex Validation Capability and tips for writing patterns and test cases
Overview of .Net Regex match functionality and how to get precise details on a match for pattern in text
Overview of .Net Regex Group functionality and how to parse a text using groups.
Use .Net Regex to replace a matching text with a custom output generated by an user defined method
Why verbatim string is recommended programming pratice when patterns are hardcoded in code.
Learn how to test patterns and observe behavior without writing code!
I will introduce you to .Net regular expression engine and what are some of its key capabilities. We will also do a quick look at five key points that we will be covering in this lecture.
Download PDF document in the resources. It contains the pattern and text that we will use in this lecture.
Let's review how regex engine scans the pattern and text and in what order. I will use concrete examples to walk through scenarios
Let's review the important concepts of Greedy and Lazy with a hands-on demo
We will apply all the concepts we learned by parsing an unstructured free form text file. Let's review sample log files generated by robocopy tool containing successful transfer and error. These log files will be parsed using regular expression.
Le'ts define the scope of the problem and what we want to accomplish in this project.
Let's review the patterns we want to define and how to build a solution using regular expression. In this lecture, we will look at the code to confirm how we can offload all the text parsing work to regular expression engine and collect the results back.
Includes practical tips on writing smaller patterns instead of one giant catch all pattern
Let's review how sensors typically collect data and how they are organized. Sensors are low cost monitors that produce a steady stream of data. We will look at a data center example that collects temperature and humidity every 30 seconds. We will read 1 year worth of sensor data and parse and prepare the data using regular expression.
In this project, we will take advantage of instance based invocation as well as static based invocation. Includes tips on how to dynamically determine parameter names from pattern and avoid hard-coding of names when iterating through match and groups.
- All material and software instructions are covered in house keeping lecture.
- Familiarity with a Programming Language
*** NEW PREVIEW VIDEOS: All lectures in Section 2 are now available for preview! Check it out!
NEW: Project 4 Network Configuration Parser added to the course***
Learning Regular Expression with .Net is a hands-on course that teaches you everything you need to know about Regular Expression.
Regular Expression is a powerful text processing tool for log mining, data parsing, cleanup and preparation. Its power and flexibility allows you to accomplish a lot with very few lines of code.
Over 60% of the effort in big data projects is spent on data cleanup and preparation.
Data can come from variety of sources including internal databases, log files, sensor generated data, Twitter, Facebook and so forth. Having access to powerful regular expression tool will open up lot of opportunities for you on how you look at your data and what can you do with it.
This course contains over 25+ hands-on exercises, practical tips, quizzes and four projects to apply the new skills you learned in this class. In the first project, we will be extracting useful information from unstructured text data from Robocopy tool, in the second project we will be on working on large data set generated by Sensors and in the third project we will look in to Health Care Systems that deal with Electronic Medical Records. ***NEW***Fourth project added on parsing Network Interface Configuration.
These exercises will demonstrate that with regular expression you can implement complex parsing with only a few lines of code.
As a bonus, you will receive an Interactive Tool for learning regular expression faster. Source code for the tool is included.
This course uses free Visual Studio Community Edition tool for development and exercise. This is an all video lecture with quizzes, full source code, downloadable list of data and patterns used.
- Course is intended for Data Scientists, Software Developers and Database Engineers