- Posted by
- and how lowercase last characters without first one ? Lowercase "L" ("\l") ensures a single character is lowercase. Uppercase "L" ("\L") capitalizes all letters until it reaches "\E." So, in your case, you can use the principles I have above, but just place a "\L" after the first character. If you ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- dreamwolf
Jul 08, 2006
- Thanks for the suggestion, Bego! The very beginning of the string (BOF) didn't get changed for me with that, but I was perfectly willing to modify that one character manually. ;) Also, piggy-backing on your and Captain's suggestions, I was able to get exactly what I wanted by using \l (lowercase L) ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- dreamwolf
Apr 13, 2006
- I have some Pascal case text ("The QuickTime BrownBear FoxTrot Jumps Over The LazyBone DogMan") that I want to change to Camel case ("the quickTime brownBear foxTrot jumps over the lazyBone dogMan"). In Perl, I'd do something like: $myvar ~= tr/[A-Z](\w+)/[a-z]$1/; I'm using PCRE, but I have no idea...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- dreamwolf
Apr 12, 2006