So I am using regex101.com to test my string and I can't get the output I need. The sample I made can be viewed here https://regex101.com/r/YQTW4c/2.
So my regex is this:
<table class=\"datatable\s\">(.*?)<\/table>
and the sample string:
<table class="datatable"><thead><tr><tr></thead></table>
I want to get the everything inside the table class datatable which, in this example, is <thead><tr><tr></thead>
.
Am I missing something here? Any help would be much appreciated.