Hi, my name is TJ and I'm terrible at regular expressions :-)

Here's what I want to do:

Match: "Any line which is one word long (where 'word' is defined as
ASCII letters, only) and that word is ALL CAPS"

Do:
* Change word from UPPERCASE to Capitalized
* Put a colon after WORD
* Wrap that word (and colon) in ** **
* Change EOL to a space.

So, for example

FOO
bah ablah alasfas

would become

**Foo:** bah ablah alasfas

Possible?

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to