JavaScript

Regex

Wed, 08 Jan 2020 16:11 UTC by garethbrown

C#

Split string on regex

    public static string SplitOnCapital(this string str)
    {
        return Regex.Replace(str, @"(\B[A-Z]+?(?=[A-Z][^A-Z])|\B[A-Z]+?(?=[^A-Z]))", " $1");
    }

Gists - code samples
UI block loader
One moment please ...