Try:
((?:https?:)?\/\/\S+[^ \.]{3}\/?)
This is the same as your original template .. you just say that the last three characters should not be. (period) or '' (space)
UPDATE: Your second link worked.
and if you tweak your regex slightly, it will do what you want:
((?:https?:)?\/\/\S+[^ …] \/?)
Yes, it looks like what you had there, except that I added a “space” after the part that we don’t want. This will make the regular expression match until it contains a space, url, which has the character "...". Without space at the end, it will match until it includes "...", so it did not do what we wanted;)
source share