regex/rule for changing case?

Discussions about iCompta on macOS
Post Reply
paulrw
Posts: 39
Joined: 12 August 2015, 04:24

regex/rule for changing case?

Post by paulrw »

I'd like to set up a text replacement rule that will change CAPITALIZED items downloaded from my bank to Title Case Instead. Can the regex function of the rules do that?

Paul

EDIT: I found this: http://stackoverflow.com/a/20419137

search regex: ([A-Z])([A-Z]+)\b
replace regex: $1\L$2

However, iCompta's regex doesn't seem to honor the \L
User avatar
Angeman
Administrateur
Posts: 2302
Joined: 28 December 2008, 21:28
Location: Toulouse, France
Contact:

Re: regex/rule for changing case?

Post by Angeman »

iCompta uses system regex which are described here : http://userguide.icu-project.org/strings/regexp
It doesn't support support changing case in the replacement to my knowledge.
paulrw
Posts: 39
Joined: 12 August 2015, 04:24

Re: regex/rule for changing case?

Post by paulrw »

Ok, thank you.
Post Reply