Sunday, January 29, 2012

Regular Expressions in Stata

Useful to destring elements:
http://www.stata.com/support/faqs/data/regex.html
http://statadaily.wordpress.com/2011/06/10/destring-complication/

tab var if regexm(var, “[^0-9 .]“)

No comments:

Post a Comment