Use URL filters with the following regex

^https?:\/\/[^\/\s]+(?:\/)?$