Regex - Remove everything before first comma and everything after second comma in line

后端 未结 3 1010
孤街浪徒
孤街浪徒 2021-01-17 05:06

I have the following string:

55,1001wuensche.com,0,354137264,1,\"0.00 %\",0,\"0.00 %\",\"2016-04-24 09:00:24\"
56,100hoch3.de,47,2757361,2,\"0.00 %\",0,\"0.0         


        
3条回答
  •  不知归路
    2021-01-17 05:12

    ^.*?,(.*?),.*$
    

    The capture group $1 will be everything between the first two commas.

提交回复
热议问题