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/
how can get numbers
topbgpkk 4 months ago
@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
TreeTopSky 6 months ago
@RoGFaNBoY I know that, but what im trying to figure out is how to get the string between the "[ITEM]" and "[/ITEM]"
TreeTopSky 6 months ago
@TreeTopSky example
"blah" & vbNewLine & "blah"
would look like
blah
blah
RoGFaNBoY 6 months ago
how would i use the regex to match whole strings(including new lines) from:
[ITEM]
blah here
and here
and also here
[/ITEM]
TreeTopSky 8 months ago
@YoungPrototype :) What kind of program is it?
Olemassacre 9 months ago
love you dude!
igotsk1ll 10 months ago
very good tut keep it up!!
MrReview2011 10 months ago
cool.....
evergreen8052 10 months ago
hey.....very nice!!!!!!
SuperBestscene 10 months ago