View Single Post
Old 03-05-2012, 08:26 AM   #1
cptsmidge
Junior Member
cptsmidge began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2011
Device: Nook Simple Touch
Quick Regex Question

Hey, sorry to bother everyone with another Regex question.

My book has weird question marks in place of hyphens (book?worm, land?locked), and I was trying to replace it, but I can't get the replace string to work.

Right now I'm using this as the search string, which seems to only select the question marks with characters on either side (not proper question marks):

Code:
\w\?\w
But no matter what I try in the "Replace" area, whatever I typed gets inserted into the code.

I tried variations of:

Code:
\1 \2
But no luck.
cptsmidge is offline   Reply With Quote