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
/
^(?:(.*,){6})(.*),
/
gm
Input 1
Name,Surname,City,Street,House,Coffee,Tea,Fruit John,Doe,London,Paddington Str,8,Latte,Ceylon,Apple Greg,Smith,London,Trafalgar Sq,12,Espresso,Earl Grey,Grapes Carol,Wesseley,London,Tower Str,123,Cappucino,English Breakfast,Grapes