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
r"
^(?P<bus>\d+)\s(?P<directions>.*?)-(?P<zone>[^\-]+)\s(?P<time>\d+)
"
gm
Input 1
1
New
150 H.S.London-lon3 11£150 H.S.London-lon3 16£150 H.S.London-lon3 120 400 Airport Luton-ptr5 12£400 Airport Luton-ptr5 15£400 Airport Luton-ptr5 17 005 Plaza-cata-md6 08£005 Plaza-cata-md6 012£005 Plaza-cata-md6 18