martinszutner Posted February 25, 2009 Share Posted February 25, 2009 (edited) Hi, I did this RE, but I need test it $sEMAIL="UNIDOS......VENTA-RENTA.....ICASAS111@YAHOO.COM,Artruo Gonzalez Fernandez" $RegExp='(?:(?:(?:[^ \t\(\)\<\>@,;\:\\\"\.\[\]\r\n]+)|(?:\"(?:(?:[^\"\\\r\n])|(?:\\.))*\"))(?:\.(?:(?:[^ \t\(\)\<\>@,;\:\\\"\.\[\]\r\n]+)|(?:\"(?:(?:[^\"\\\r\n])|(?:\\.))*\")))*)@(?:(?:(?:[^ \t\(\)\<\>@,;\:\\\"\.\[\]\r\n]+)|(?:\[(?:(?:[^\[\]\\\r\n])|(?:\\.))*\]))(?:\.(?:(?:[^ \t\(\)\<\>@,;\:\\\"\.\[\]\r\n]+)|(?:\[(?:(?:[^\[\]\\\r\n])|(?:\\.))*\])))*)' $aEmail = StringRegExp($sEMAIL, $RegExp,3) $oEmail=-1 _ArrayDisplay ($aEmail) for $i = 0 to UBound($aEmail) - 1 $oEmail=$aEmail[$i] ConsoleWrite($oEmail&@CRLF) Next Edited February 25, 2009 by martinszutner Link to comment Share on other sites More sharing options...
weaponx Posted February 25, 2009 Share Posted February 25, 2009 When posting there is an option to disable emoticons, it needs to be used when posting using AutoIt tags. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now