Showing posts with label regex. Show all posts
Showing posts with label regex. Show all posts

Saturday, January 29, 2011

Using Regular Expression - VB.NET

What is Regular Expression?
  1. It is great technique to search through texts.
  2. Supported by many programming languages.
  3. 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.

The support of framework for Regular Expression:

  • 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: