2013年9月3日
摘要: x.xx 保留两位小数/^[1-9]\d*\.?\d{0,2}$|^0\.[1-9]{1}\d?$|^0\.\d[1-9]$/;替换字符串中 以{开始 }结束的字符串 .*代表任意字符preg_replace('/\{.*\}/','',$str); 阅读全文
posted @ 2013-09-03 17:39 ijoanne 阅读(100) 评论(0) 推荐(0)