<?php if ( preg_match('/-?[\d]*\.?[\d]*/', "xxxx") ) { echo "OK: matches"; } else { echo "Bad: doesn't match"; exit(); }
You have javascript disabled. You will not be able to edit any code.