Uses of regex for extraction, localized the processing