Using regular expressions for data management in Stata