Use Java and RegEx to convert casing in a string
- by Andreas
Problem: Turn "my testtext TARGETSTRING my testtext" into "my testtext targetstring my testtext"
Perl supports the "\L"-operation which can be used in the replacement-string.
The Pattern-Class does not support this operation:
Perl constructs not supported by this class:
[...]
The preprocessing operations \l \u, \L, and \U.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html