REGEX-Escape for: //Unattended-Upgrade::Automatic-Reboot-WithUsers "true";

Your Input:
Result, the escaped string:
\/\/Unattended\-Upgrade\:\:Automatic\-Reboot\-WithUsers "true";


Ads

What must the escaping look like for:
//Unattended-Upgrade::Automatic-Reboot-WithUsers "true";

The excaped text for use in a regex is:

\/\/Unattended\-Upgrade\:\:Automatic\-Reboot\-WithUsers "true";


Ads