1.在线的正则表达式网站: http://www.rubular.com/ 2. flex 数据验证 http://sxgxy2008.blog.163.com/blog/static/762552702008102574740409/ 例如: <mx:RegExpValidator expression="^(13[4-9]|18[8]|15[0|3|6|8|9])/d{8}$" source="{mobile}" property="text"/> <mx:Label x="89" y="91" text="手机号"/> <mx:Button x="322" y="89" click="checkUser()" label="下一步"/> <mx:TextInput x="154" id="mobile" y="89"/>