I will tell you what I have made so far.

Code:
alias parse_url {
  var %url = $$1
  $iif($isid,return,echo -a) $gettok($remove(%url,http://),1,47)
}


Code:
//echo -a $parse_url(http://www.forums.mirc.com/ubbthreads.php?ubb=showflat&Number=225924&page=1&PHPSESSID=26dcb1fe8db39ca7965fd2f9a1e07e94#Post225924)


Returns "www.forums.mirc.com"

Works as intended

Code:
//echo -a $parse_url(https://forums.mirc.com/ubbthreads.php?ubb=showflat&Number=225924&page=1&PHPSESSID=26dcb1fe8db39ca7965fd2f9a1e07e94#Post225924)


Returns "forums.mirc.com"

This does not work as intended as I want the "www.prefix"

More importantly $1 is not checked to see if it is a URL of some form or another.


Newbie