This tutorial will show you how to Repeater pagesetting using ASP.NET 2.0 and VB.NET
First, you need to import the System.Text.RegularExpressions namespace.

We use the Button1_Click to do work.

The Regex class contains several static methods that allow you to use a regular expression without explicitly creating a Regex object. Using a static method is equivalent to constructing a Regex object, using it once and then destroying it. The Regex class is immutable (read-only) and is inherently thread safe. Regex objects can be created on any thread and shared between threads. The Methods of the Replace is Overloaded. Within a specified input string, replaces strings that match a regular expression pattern with a specified replacement string.

The front end Default.aspx page looks something like this:

The flow for the code behind page is as follows.

Download Source Files