I need an expression that will search backwards through a string and break the string at the first upper case letter returning both halves of the string. However, an underscore anywhere in the string should cause the expression to fail.
Example:
PhyTeamItem => PhyTeam and Item
PhyTeamModel => PhyTeam and Model
PhyTeam_Model => fails
Easy enough to write a little function and scan the string but I assume regular expressions woud be faster and look cooler.
Thanks in advance.