# Pastebin 06t9kBXJ } else { const matches = output.match(regex); if (matches !== null) { output = replaceMatch(matches, output, regex, replacement); } }