Some practical usages of regular expression