You can exclude matching a number that starts with 1-9 preceded with optional zeroes. ^(?!0*[1-9])-?\d+$.
確定! 回上一頁