Add space between lower and uppercase

Hello, does anyone know how to insert a space between a lowercase and uppercase character using templates. For example, PreHeating --> Pre Heating
Thanks

{{'PreHeating' | regex_findall(find='[A-Z][a-z]*', ignorecase=False)
| join(' ')}}
1 Like

Thank you it worked!