Community Patterns

Community Library Entry

1

Regular Expression
Created·2023-09-19 18:20
Flavor·PCRE (Legacy)

/
(([^,]*,){2})
/
gm
Open regex in editor

Description

i have paste \n after every 2-th comma using sed

sed 's/\(\([^,]*,\)\{2\}\)/\1\n/g'

Submitted by sanekmihailow