Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Dropping not valid emails


From   <[email protected]>
To   <[email protected]>
Subject   st: Dropping not valid emails
Date   Tue, 19 Feb 2008 12:10:47 +0100

I have a variable that contains e-mail adresses. I would like to find a
way to drop observations that does not contain valid email adresses.
There should be a condition that the string contains one '@', the
exsistence of period, and two or three characters following the period,
and no empty spaces.

I've tried the archives but can't find anything there. Any ideas? 

Best wishes,
Alexander Severinsen


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index