Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(?:remind me ).*? (to|that|about|its|it's)? ?(.*)$
/
gm
Input 1
1
New
remind me in 24 hours test remind me in 24 hours to test remind me to test E.g. These strings would work with your current pattern two spaces after 'remind me' where the group fits in: ^(?:remind me ).*? (to.... ^ ^ remind me to test remind me blabla to test one or three or more, no: remind me to test remind me to test remind me bla bla to test
Substitution