Usage of Regular Expressions in NLP