View Single Post
Old 12-22-2010, 11:07 AM   #13
Ahmad Samir
Zealot
Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!Ahmad Samir , Klaatu Barada Niktu!
 
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
Quote:
Originally Posted by tscamera View Post
thanks a lot!
learning by doing.

so, summary, for everyone it may concern:
find: ([a-z])([A-Z]) matching case on
replace: \1-\2

as slim version, will work.

ticked on minimal matching, mentioned by kiwidude,
doesn't matter, in this case.

BUT beware of replace all, in case there is a MacCool or other Macs in the text.
but i think there is a regex solution to exclude specs. i.e Mac

isn't it? :blink:

if there is, please let me know
FWIW, sometimes for some changes like these, you have to do them one by one (just to be sure the MacCool... etc won't get hurt in the process... :)).
Ahmad Samir is offline   Reply With Quote