Php Programming Code Examples Php > Other Code Examples US Phone Numbers US Phone Numbers <?php preg_match_all ("/\(? (\d{3})? \)? (?(1) [\-\s] ) \d{3}-\d{4}/x", "Call 555-1212 or 1-800-555-1212", $phones); ?> Multiple File Upload Simple Debug functions Simple Guest Book Customizable Calendar Class Select Examples Creating teaser or preview text A date-time management script Gethostbyaddr function returns the name of the host specified by Parses RSS into an array. Quick and nasty but does the job Attached File This functions makes it easy to use session-variables known from ASP Match the string 'php'