Page 1 of 1

regex/rule for changing case?

Posted: 24 September 2015, 02:54
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

Re: regex/rule for changing case?

Posted: 24 September 2015, 09:07
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.

Re: regex/rule for changing case?

Posted: 24 September 2015, 14:59
by paulrw
Ok, thank you.