CSharp · Console
using System;
using System.Text.RegularExpressions;
public class Program
{
public static void Main()
{
Regex regex = new Regex("([\"'])(?:(?=(\\\\?))\\2.)*?\\1|(\\d*\\.?\\d*)[^\"' {},]");
foreach (var match in regex.Matches("{{\"textA\",\"textB\",\"\",0,9.384,\"textC\"}}"))
{
Console.WriteLine(match);
}
}
}