Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(in)(?=\s*\d+)
/
g
Input 1
1
New
2014/12/04 Test in 1 day' time 0 weeks 2014/12/07 Amazon Prime Ends in 95 days | 13 weeks 2014/12/24 Christmas in China in 112 days | 16 weeks
Extraction
2014/12/04 Test in 1 day' time 0 weeks 2014/12/07 Amazon Prime Ends in 95 days | 13 weeks 2014/12/24 Christmas in China in 112 days | 16 weeks