<!--html 구문-->
<input type='text' onChange={lookingForNum} />
/^[+-]?\d*(\.?\d*)?$/
// JS 구문
const[numbers,setNumbers] = useState('');
const lookingForNum = e =>{
const num = /^[+-]?\d*(\.?\d*)?$/;
if(!num.test(e.target.value))return;
}
/[^a-zA-Z]/g