You can use the preg_replace() function in PHP to convert plain text URLs into HTML hyperlinks.
You can use the preg_replace() function in PHP to only allow numbers in a string using a regular expression.