# Regular expression with as

**URL:** <https://forum.kirupa.com/t/regular-expression-with-as/173980>\
**Category:** Uncategorized\
**Created:** [January 1, 2006, 12:28am UTC](https://forum.kirupa.com/t/regular-expression-with-as/173980 "2006-01-01T00:28:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wo1olf](https://avatars.discourse-cdn.com/v4/letter/w/278dde/32.png) [@wo1olf](https://forum.kirupa.com/u/wo1olf)\
**Post date:** [January 1, 2006, 12:28am UTC](https://forum.kirupa.com/t/regular-expression-with-as/173980/1 "2006-01-01T00:28:25Z")

</div>

i was doing this tutorial that show how to shake user input information; to see if they’re valid (like in standard html form) but if find it a little too long. So my question is if there is a way to use regular expression with actionscript ?  
for example if you want to shake if a user’s email is valid
