REGEX-Escape for: java -jar ROOT.jar --systemproperties payara.properties

Your Input:
Result, the escaped string:
java \-jar ROOT\.jar \-\-systemproperties payara\.properties


Ads

What must the escaping look like for:
java -jar ROOT.jar --systemproperties payara.properties

The excaped text for use in a regex is:

java \-jar ROOT\.jar \-\-systemproperties payara\.properties


Ads