StackOverflow-PHP/RegExHow can I properly check a string format if it follows a version number format?