Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-06-26 18:39
Flavor·.NET 7.0 (C#)

@"
(?<!^)(?=[A-Z][a-z])|(?<=[a-z])(?=[A-Z])
"
g
Open regex in editor

Description

Splits camel-case string and preserves acronyms

Submitted by Tyler S.