Fixed url regex matching some invalid TLDs

It started matching stuff like nope.jpeg because boundary checks were removed