Validate phone number with PhoneNumberValidator
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:PhoneNumberValidator id="pnV" source="{homePhoneInput}" property="text" /> <mx:PhoneNumberValidator id="pnV2" source="{cellPhoneInput}" property="text" /> <mx:EmailValidator id="emV" source="{emailInput}" property="text" /> <mx:Panel title="My Application" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10"> <mx:TextInput id="homePhoneInput" text="invalid phone number." /> <mx:TextInput id="cellPhoneInput" text="(999)999-999" /> <mx:TextInput id="emailInput" text="me@s.net" /> </mx:Panel> </mx:Application>