What is Regular Expression?
- It is great technique to search through texts.
- Supported by many programming languages.
- It use textual formulas contain some special characters that have special meaning.
- Imagine that you want to search for emails in a text file or search for titles in websites here comes the role of the Regular Expression optimal solution.
- Like many programming languages, the framework supports the Regular Expression through a set of classes exist in the space of names System.Text.RegularExpressions.
Regex object is used to search through text on a certain formula Declaration for the object is like this: