0
votes
0answers
5 views

how to pattern matching on mulit line string? [migrated]

mystring = " <div class="text"> Spor </div> "; pattern ="<div class=\"text\">(.*)</div>"; Pattern regEx = Pattern.compile(pattern, Pattern.MULTILINE); Matcher m = ...
2
votes
1answer
132 views

htaccess email regex

I am trying to write a patter in such a way that this link : http://www.mysite.com/link/go/emailadress@gmail.com is interpreted like this : ...