Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-08-17 19:39
Flavor·Python

r"
(?<!^)((?<=[a-z])[A-Z0-9]|[A-Z](?=[a-z]))
"
gm
Open regex in editor

Description

Converts camel or pascal case to snake case But it still needs to be converted to lower case

Submitted by anonymous