Goal:
Using working regex no matter what how much white or any letters that should be selected.
Problem:
When I have less space between "test">" and "testtest" the the regex code works but if I have more space between "test">" and "testtest" than the regex code doesn't work.
That part of the code am I missing?
Thank you!
Regex pattern for dotnet
(?<=<p class="listing__address">)(.+?)(?=</span><span class="listing__map-link">)
Tool That am I using for regex in Internet.
http://regexstorm.net/tester
Less space:
<p class="listing__address"> <a onclick="LogAction('9875', 'Map')" href="https://asdf test"> testtest, <span>5252 Søreidgrend </span><span class="listing__map-link">lkjlkj</span></a></p>
More space:
<p class="listing__address"> <a onclick="LogAction('9875', 'Map')" href="https://asdf test">
testtest, <span>5252 Søreidgrend </span><span class="listing__map-link">lkjlkj</span></a></p>