On second thoughts... ^(.*?)(?=[A-Z][a-z])
would do just as well - just I'm often looking for specific key- combos and usually have to specify say [A-Z]{3}- [0-9]{3} type nonsense - so apologies, force of habit!
R -- Richard Dyce MA (Cantab.) MBCS MIET http://www.macuser.co.uk http://www.macworld.co.uk -- ------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml> List archives: <http://www.listsearch.com/BBEditTalk.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
