Hello, I'm sorry if this is the wrong place to post this, I couldn't find a support section.
Anyway, I'm new to VB.NET and honestly, I'm lost. I need to extract text from a HTML page, here's the line I want to extract from<p><a href="/video7419001/0/CoD4">CoD4</a></p>
What I want to extract from it is this<p><a href="/video(This here)/0/(This here)">CoD4</a></p>
All I want to do is put it into two listboxes, could I do this without using Regex? I've had a look at Regex and it's mind blowing with these "wild cards" I honestly don't know where to start lol.
Thanks for the advice :)
eatyourgreens 0 Newbie Poster
Recommended Answers
Jump to PostThis might not be what you're looking for, but I would suggest regex's.
1) They're fast.
2) They're very powerfull. They're the powerhouse of text manupulation, making things even like bioinformatics easy.Just take your time in learning regex's. There not too hard, just don't get scared by them.
Being …
Jump to PostAlso a tutorial like thisone or many others can be found on the net.
Jump to PostYou can use another regex to read the first number. "[0-9]+" in perl, so probably something simular in vb.net.
All 9 Replies
ddanbe 2,724 Professional Procrastinator Featured Poster
Hiroshe 499 Posting Whiz in Training
ddanbe 2,724 Professional Procrastinator Featured Poster
eatyourgreens 0 Newbie Poster
Hiroshe 499 Posting Whiz in Training
cgeier 187 Junior Poster
cgeier 187 Junior Poster
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Hiroshe 499 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.