I wrote this regex :
Its job is to capture a web address but remove the filepath. e.g. www.example.com/removethis/andthis/ - leaving me with just www.example.com
The .NET tester I used (regexstorm.net/tester) gave me a different output.
How would I fix my regex to give my desired result?