Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Escape unescaped % for cron command line
Open Workspace
PCRE2 (PHP)
Substitution
Created 2026-10-27 22:23
1
Regular Expression
/
\\
[
\\
%
]
(*SKIP)(*FAIL)
|
%
/
gm
Description
Escape % that is not followed by unescaped . Regex is usefull for escaping cron command string.
Submitted by
Anonymous