Regular Expressions 101

Community Patterns

123...7

Community Library Entry

0

Regular Expression
.NET 7.0 (C#)

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

Description

Splits camel-case string and preserves acronyms

Submitted by Tyler S. - a year ago