I am attempting to use the extractor “Replace with regular expression” to change the case of a field from lowercase or mixed case to uppercase. I cannot figure out how to do this. What I have:
Regular Expression:"\s*([^"])\s"
Replacement:$1
In: "Error"
Out: Error
This is fine up until I want to change the case. I have tried \u$1, but that just outputs uError. Any ideas would be great.
With the extractor being based on the regular expressions functionality from the Java standard library (see Matcher#replaceAll(java.lang.String)), that’s not possible.