正则对象 var reg = new Regexp('abc','gi') var reg = /abc/ig 正则方法 test方法(测试某个字符串是否匹配) var str = 'abc123'; var ismatch = /[a-z]+\d+$/.test(str); console.log(ismatch); //true exec方法(捕获字符串) var str = 'abcd123'; var reg = /([a-z]{1})/g; //如果没有g,每次从开头匹配 var ar…
异常信息如下: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.Date' to required type 'java.sql.Timestamp' for property 'wfsj'; nested exception is java.lang.IllegalStateException: Cannot conver…