Problem 1
Lets say I have this word realPersonId
and want to find in text and replace it with word without Id
suffix. First letter needs to be capital. I can't get that capital.
Sample text: realPersonId
Find expression: (\s+)(.*)Id
Replace expression: \1\2
Result: realPerson
Wanted result: RealPerson
Problem 2
In this problem I don't have any solution, all I want with sample text is to replace it with concatenated text, size of maximum 26 letters.
Sample text: table="EXAMPLE_INFORMATION_123456789"
Find expression: table="(.*)"
Replace expression: \1
Result: EXAMPLE_INFORMATION_123456789
Wanted result: EXAMPLE_INFORMATION_123456
Thanks.