I have the following string:
In order to take this course, you must:<br>
<br>
√ Have access to a computer.<br>
<br>
√ Have continuous broadband Internet access.<br>
<br>
√ Have the ability/permission to install plug-ins (e.g. Adobe Reader or Flash) and software.<br>
<br>
√ Have the ability to download and save files and documents to a computer.<br>
<br>
√ Have the ability to open Microsoft file and documents (.doc, .ppt, .xls, etc.).<br>
<br>
√ Be competent in the English language.<br>
<br>
√ Have access to a relational database management system. A good open-source option is MySQL (<a href="http://dev.mysql.com" target="_blank">dev.mysql.com</a>).<br>
<br>
√ Have completed the Discrete Structures course.<br>
<br>
√ Have read the Student Handbook.
I'm trying to select the text in the middle (excluding the title, encoded spaces and <br>
s), for instance, the first match should be: Have access to a computer.
I've tried the following two, but can't make it work.
This one selects the entire line: ^(?:√([( )|\s]*))(.*)(?:(\<br\\?\>)*)$
, I tried to call Regex.Matches(requirements.InnerHtml, RequirementsExtractorRegex, RegexOptions.Multiline)[0].Captures[0].Value
, and here is the value: √ Have access to a computer.<br>
.
And this one doesn't select anything: ^(?<=√([( )|\s]*))(.*)(?=(\<br\\?\>)*)$
What am I doing wrong?