Am trying to work out a regex pattern which checks for the presence of a domain followed by /
followed by any character. For example the string https://example.com/
is fine for me but I want to invalidate the string https://example.com/xyz
as it has the domain followed by a path.
Currently I have come up with the pattern for checking a string that starts with https and followed by any charaters: https://(.*)
. But I have been unable to work out a pattern for the aforementioned scenario.
Thanks in advance for your inputs :)