C# Tutorial ‘Regular Expressions’ Programming Tutorial NET


I’ve been playing around with C# for about a year now and recently had a requirement to pull some tags text from a text file. I heard that it was possible using regular expressions so decided to give it a go. After some surfing and reading I came up with a solution. The crux of which I show in this video.

There is a bit more to regular expressions that this video gives credit for and I’ll be sure to post more examples as my experience grows.

Note that although the example is done in C# it uses the .NET framework so is essentially the same in VB.NET

The video covers . + ? which means match all characters up to and including the specified character(s)