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
/
(_[^=]+)=\s*([^_\n]+)(?=_|\.\w{3}$)
/
gm
Input 1
New
FilePrefix_Speed= 3.5 kmph_Accel= +0.5 m/(s^2) _Height=+7ms_Set=High.txt FilePrefix_Speed= 3.5 kmph_Accel= +0. m/(s^2) _Height=+7ms_Set=High.txt
Extraction
FilePrefix_Speed= 3.5 kmph_Accel= +0.5 m/(s^2) _Height=+7ms_Set=High.txt FilePrefix_Speed= 3.5 kmph_Accel= +0. m/(s^2) _Height=+7ms_Set=High.txt