日期:2014-05-16 浏览次数:20354 次
<html> <head> </head> <body> <script type="text/javascript"> var str = "(深圳)"; var reg = /^[\u4E00-\u9FA5\(\)]+$/; if(reg.test(str)){ alert('成功') }else{ alert('失败') } </script> </body> </html>