Dear all,
Can anyone help me, please?
I have a website with name, for example http://www.a.com/index.php?option=com_***** (followed by a very long query string).
The problem is I want the URL that will be displayed in address bar only http://www.a.com/
Can anyone give me what kind of regex I should use? I've tried lots of things, but I just don't understand the regex rules.
Thank you in advance.