On 30 Jul 2006, at 14:10 , TjL wrote:
I know how to make a RegEx to replace something, but I don't know how
to do this: namely, insert a space after each number ... well, by
"number" I mean "24" and "25" and "26" not "2" and "4" and "2" and "5"
.... probably just easier to show you what I am working with, here's
an example (note: this just happens to be the text that I am working
with for next Sunday, it's not intended as a message to anyone here in
particular)
search for: (\d+)(\w)
replace: \1 \2
this loioks for a digit, or more than one (the +) followed by a word
character and replaces with the digits, a space, and the word character.
(\d is a shorthand for [0-9])
--
Naked blonde walks into a bar with a poodle under one arm, and a two-
foot salami under the other. The bartender says, I guess you won't be
needing a drink. Naked lady says…
--
------------------------------------------------------------------
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]>