helpers\Tokenizer::replaceTokens(): Replaces a tokens list