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
/
^.*?=(?:.{32}|.{40})(?:$|&)
/
mg
Input 1
http://12.123/2?=tttttttttttttkkkk&1?=0C92C3423CA7811A61745F7ED2F6A013 http://12.123/1?=0C92C3423CA7811A61745F7ED2F6A013
Substitution
http://12.123/2?=tttttttttttttkkkk&1?=0C92C3423CA7811A61745F7ED2F6A013 http://12.123/1?=0C92C3423CA7811A61745F7ED2F6A013