grunt-pattern-replace (npm): Allow you to parse a list of files and replace tokens based on specifics patterns.
Keywords: gruntplugin|pattern|replace|token|regex