The Regular Expressions are the languages which identifies character patterns. Basically this is used for the following tasks such as:
• To validate the text input such as passwords, numbers etc.
• Parsing the textual data into more structured forms. For example, extracting data from an HTML page to store in database.
• Replacing the pattern of text into a document.
All Regular Expression types are defined in System.Text.RegularExpressions .
Asked In: Many Interviews |