I'm using .NET Regular Expressions to strip HTML code.
Using something like:
<title>(?<Title>[\w\W]+?)</title>[\w\W]+?<div class="article">(?<Text>[\w\W]+?)</div>
This works for 99% of the time, but sometimes, when parsing...
Regex.IsMatch(HTML, Pattern)
The parser just blocks and it will continue on this line of code for several minutes or indefinitely.
What's going on?