View Single Post
Old 03-05-2012, 08:40 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,614
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You have no capture groups in your search expression. So it doesn't know what to replace and what to keep.

Code:
(\w)\?(\w)
Code:
\1-\2
should then replace the "?" with the "-" and keep the two original word-characters preceding and following.
DiapDealer is online now   Reply With Quote