The inputvalidation module should be supported on Windows, Linux and Mac (althought it has not been tested on Mac). Here's a simple validator using regex to make sure the user enters a valid phone ...