Hi. I searched for some regex examples and after reading a while my head was about to explode.
I want to get a string from a html page which is inside a specific tag (but the tag exists multiple times).
I will need to take some time to dig into it but is there anyone experienced with regex who could help me with this little problem?
I have html like this:
[quote:258bnbi6]MORE HTML ABOVE
<li><a href="//imgur.com/2AtmKfw">Weekly Brawl: SHOW YOUR SUPPORT</a></li>
<li><a href="//reddit.com/r/Overwatch/comments/4rjn28/patch_1051b_on_pc/">[PC] Patch 188.8.131.52B Notes</a></li>
MORE HTML BELOW
and the regex should get the text behind "Weekly Brawl: " so I can read the weekly changing brawl from the website to show it in the app. The text is different each week (shorter/longer).
the href (link) changes everytime too and should be ignored, just the text behind weekly brawl is important.
Just getting all "li" tags would have too many results so it should just find the line with weekly brawl with a <li> at the start.
I will try to read more tutorials about it but any help would be very appreciated.