I have problem with creating correct regular expression. Here is what I have so far: https://regex101.com/r/d0epRo/2
I need to add to this links one more parameter and I have to determinate wheather there is question mark or not. Therefore ?
should be optional but I can't get it to work.
Those not working (\?|)
(\?)?
(\??)
.
Those should be marked http://www.polskieszlaki.pl
and http://www.polskieszlaki.pl/wawel.htm
but aren't
I have no forther ideas. Help please.