Format Social Security Number You are here: Free PHP » Snippets » Format Social Security Number Takes a string of numbers and formats it into a Social Security number format. Example: formatSSN('123456789'); //returns "123-45-6789" Published on: Tuesday - 29 September 2015 Categories: Snippets Tags: rss , snippets Comments are closed.