I’m looking for a pattern that can match urls.
All of them will contain “.no” as there is only Norwegian domains input.
I think whats needed is this:
search for a space or linebreak before and after ‘.no’, and the match will be a link.
Some examples of what it should match (all with text around it):
test.no
test.no/blablabla/
test.no/blablabla/test.html
test.no/blablabla/test.php
test.no/blablabla/test.htm
and this should then be replaced with
<a href="http://www.MATCH">MATCH</a>
anyone can figure this out?
This should do it: