how could i sniff out post code from inputed text...turn it into a link to a map web site(multimap etc)?
i have done it with email addresses...
function make_clickable($txt) {
$ret = eregi_replace("(([a-z0-9_]|\-|\.)+@([^[:space:]]*)([[:alnum:]-]))", "<a href=\"mailto:\\1\" target=\"_new\">\\1</a>", $ret);
return($ret);
}
cheers
jim