I have a stringstream where it has many strings inside like this:
<A style="FONT-WEIGHT: bold" id=thread_title_559960 href="http://microsoft.com/forum/f80/topicName-1234/">Beautiful Topic Name</A> </DIV>
I am trying to get appropriate links that starts with:
style="FONT-WEIGHT: bold
So in the end I will have the link:
http://microsoft.com/forum/f80/topicName-1234/
Topic Id:
1234
Topic Display Name:
Beautiful Topic Name
I am using this pattern, right now, but it doesn't do it all:
"href=\"(?<url>.*?)\">(?<title>.*?)</A>"
Because there are other links that start with href.
Also to use Regex, I added all lines in a single line of string. Does regex care about new lines? IE can it continue to match for strings that span multiple lines?
Please help me with the pattern.