I'm trying to build a sentence which I'll use in SQL. Since where could be human errors and people putting more than one ',' in a sentence i wanted to as if there's a possibility to replace many same characters only into a singular one I.E.
string text = "lala,,,lala,,,,sdad,,,,123,,,,asd,,"
to turn it into
"lala,lala,sdad,123,asd"
?