For adding the trailing / and extracting the host name you need a bit more logic
URI's ->canonical and ->host will do that, respectively.
In reply to Re^2: Linkifying URLs in plain text
by ikegami
in thread Linkifying URLs in plain text
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |