Very Simple Regex Question
- by Sunil
Hello sir
I have a very simple regex question suppose I have 2 condition
1 url =http://www.abc.com/cde/def
2 url =https://www.abc.com/sadfl/dsaf
and how can I extract the baseUrl using regex.
sample output
1 http://www.abc.com
2 https://www.abc.com
Thanks