ENYO-3672: _applyRegexpSubstitutions for replacing contents via regexp

ENYO-3672: revert _applyVarsSubstitutions

Enyo-DCO-1.1-Signed-off-by Junil Kim <logyourself@gmail.com>