REGEX-Escape for: OfflineGenerator: must be started with -mode flag, valid options are har, csv, or swagger

Your Input:
Result, the escaped string:
OfflineGenerator\: must be started with \-mode flag, valid options are har, csv, or swagger


Ads

What must the escaping look like for:
OfflineGenerator: must be started with -mode flag, valid options are har, csv, or swagger

The excaped text for use in a regex is:

OfflineGenerator\: must be started with \-mode flag, valid options are har, csv, or swagger


Ads