<http://forum.pspad.com/read.php?f=2&i=10154&t=10154> ----------------------------------------------------------------
I need to convert a string llike "modelDefinitionDao" to "MODEL_DEFINITION_DAO". Since I have a lot of these strings, I would use regular expression to replace the uppercases "X" to "_X", and then convert to uppercase the string at all. So, I used the following rules: search for [^a-z] and replace with _$1, but it don't works, i.e., it finds the uppercase, but replace it with only "_" char. For example, the modelDefinitionDao becomes model_efinition_ao. Am I doing some mistake, or there is a bug? Thanks -- PSPad freeware editor http://www.pspad.com
