I am looking for a way to remove the first occurrence of a comma in a string, for example
\"some text1, some tex2, some text3\"
should retu
you could also use a lookahead like so ^(.*?),(?=.*,) and replace w/ $1 Demo
^(.*?),(?=.*,)
$1