Quote:
Originally Posted by HarryT
The text I use as an example in the tutorial (there's a hyperlink in the Word doc) would be a good one to use.
|
In that example, simply do a find/replace, then make sure the "Regexp" box is checked, and put the following in the box:
_[a-zA-Z0-9]*_
This will decide the set I = { w | w is an alphanumeric string and w0 = _ and wn = _ where n = |w| }
Ok, ok.. sorry for the nerdiness. It will match exactly what you want, words ecompassed with _ characters. I would recommend just hitting f3, clicking title bar, pressing ctrl+i over and over, then doing a find/replace on every _ character in the document.
I couldnt find a way to automate this inside BD, but I would recommend the program Tasker, which will record keyboard and mouse strokes and play them back as fast as you need.
A much better option than doing it all by hand!
Edit: I notice in that particular book, inside one of the quotes is a ! character, which won't be caught. Anything you need inside that bracket can simply be added, so you can just use the regex:
_[a-zA-Z0-9!]*_
For some reason, [.]* and .* do not seem to work in BD, which is a little frustrating. Does anyone know why, or is this common regex syntax? There must be a way to match *anything* between two symbols.