i have issue that i cant solve for some time since i dont fully understand regex.

How can i get selected data from table to array?

class="fb s10" title="Get This Info">
class="fb s10" title="Get That Info">

How can i extract
Get This Info
Get That Info
from selected part of table as is to string array

So goal is find full thing in

class="fb s10" title="  



Thanks in advance

Recommended Answers

Go to Get code:

will match for whatever is between "" after title.

Jump to Post

Go to get code

will match to whatever is after title between " "

Jump to Post

All 8 Replies

So just the title info?

Sorry the explanation confused me xD

I need it to look for full code >>> class="fb s10" title="
and return whats in title ""

Hmm outside my knowledge on how to get the exact string, my attempts have failed so far.

class="fb s10\" title=\"[^<>]*\">

i found that few minutes ago - should work
http://gskinner.com/RegExr/ shows that its selects it so i just need to replace things outside with string.Empty

Will try later today

somehow i only get ""

Here is example i need
from that site i downloaded html and put it in string

How i need to get Hulk name inside "" from

<a href="/en/hulk/profil/spieler_80562.html" class="fb s10" title="Hulk">Hulk</a>

to textbox.text but i only have "" in text box

Cant solve it for some time

Thanks in advance

Got it and it works

\bclass=\"fb s10\" title=(\w*)>?\W\w*\s\w*">

Link to regex

Issue solved!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.