RegEx Help - CamelCasing.
Posted: 22 Oct 2010 19:22
Hi.
Can someone please help me on this?
I intend to use this with regexReplace.
-A regEx to start a sentence with capitals; also, make capitals after "_" and numbers (camelCased sentences) and check that after a Capital there MUST be a lower case: _test >>_Test; test23succeed >> Test23Succeed; thisIsAsample_testTExtWith8numbersToo >> ThisIsAsample_TestTextWith8NumbersToo;
-A regEx to get rid of underscores when they are followed by any extension: File_.exe >> File.exe.
Thanks in advance!
Can someone please help me on this?
I intend to use this with regexReplace.
-A regEx to start a sentence with capitals; also, make capitals after "_" and numbers (camelCased sentences) and check that after a Capital there MUST be a lower case: _test >>_Test; test23succeed >> Test23Succeed; thisIsAsample_testTExtWith8numbersToo >> ThisIsAsample_TestTextWith8NumbersToo;
-A regEx to get rid of underscores when they are followed by any extension: File_.exe >> File.exe.
Thanks in advance!