Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

VB.NET Tutorial 54 - Regex (Part 1) (Visual Basic 2008/2010)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
19,585
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 26, 2010

In this tutorial, we go over how the Regex class (Regular Expression) works and how to create a Regex and find matches. Using Regex is a very easy way to parse strings and could save you a lot of time in the long run. This tutorial will cover the basics of finding Regex matches in a string, and you should be able to research yourself from there. Look up the Regex Syntax Reference Table for the characters that you can use in a Regex.

For more information, check out the website:
http://howtostartprogramming.com/vb-net/vb-net-tutorial-54-regex/

  • likes, 10 dislikes

Link to this comment:

Share to:
see all

All Comments (27)

Sign In or Sign Up now to post a comment!
  • how can get numbers

  • @TreeTopSky like i would have multiple things:

    [111]

    bla 1

    bla 2[/111]

    [222]

    bla 1

    bla 2

    [/222]

    im looking for specific group case matching

  • @RoGFaNBoY I know that, but what im trying to figure out is how to get the string between the "[ITEM]" and "[/ITEM]"

  • @TreeTopSky example

    "blah" & vbNewLine & "blah"

    would look like

    blah

    blah

  • how would i use the regex to match whole strings(including new lines) from:

    [ITEM]

    blah here

    and here

    and also here

    [/ITEM]

  • @YoungPrototype :) What kind of program is it?

  • love you dude!

  • very good tut keep it up!!

  • cool.....

  • hey.....very nice!!!!!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more