Regular Expressions 101

Community Patterns

1...56789...900

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