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
/
'\d+\s*([a-zA-Z].*\w)\ \
/
g
Input 1
New
'--------------------------------------'] '-1 Beer -3.00'] '10 Beer 30.00'] '1 Carrot Cake 2.50'] '1 Chocolate Cake 3.50'] ', '----------------------------------'] , 'TOTAL 33.00'] , 'CASH 33.00'] , 'CHANGE 0.00'] , '===================================='] , 'Thank You and'] , 'See You Again!'] ['Table: Waiter: kenny', '======================================', '1 GRILLED AUSTRALIA ANGU 29.00', '----------------------------------', 'TOTAL 29.00', 'CASH 29.00', 'CHANGE 0.00', 'Signature:__________________________', 'Thank you & see you again soon!'] ['1 Carrot Cake 2.50', '1 Chocolate Cake 3.50', '----------------------------------', 'TOTAL 6.00', 'CASH 6.00', 'CHANGE 0.00', '====================================' , 'Thank You and',
Extraction
'--------------------------------------'] '-1 Beer -3.00'] '10 Beer 30.00'] '1 Carrot Cake 2.50'] '1 Chocolate Cake 3.50'] ', '----------------------------------'] , 'TOTAL 33.00'] , 'CASH 33.00'] , 'CHANGE 0.00'] , '===================================='] , 'Thank You and'] , 'See You Again!'] ['Table: Waiter: kenny', '======================================', '1 GRILLED AUSTRALIA ANGU 29.00', '----------------------------------', 'TOTAL 29.00', 'CASH 29.00', 'CHANGE 0.00', 'Signature:__________________________', 'Thank you & see you again soon!'] ['1 Carrot Cake 2.50', '1 Chocolate Cake 3.50', '----------------------------------', 'TOTAL 6.00', 'CASH 6.00', 'CHANGE 0.00', '====================================' , 'Thank You and',