>
>For example. Find all occasions of email addresses that are not part of
>"<a href=mailto:"; and change the "@" to an " (at) "? or Strip all html
>tags from the selected text?
>
>There must be at least a hundred, most used RegEx strings. There should
>be a repository for those somewhere.

it's not really viable. Grep by nature deals with wildcards - you are talking 
about an infinite number of examples. The shortest route is to start with 
simple stuff and experiment, maybe ask here when you get stuck. I've learned 
grep through this list, the manual, some help from BBSW many years ago, and 
trial and error. I'm not particularly good at it but the longest one I managed 
was about 200 characters in the find and 160 in the replace to reformat a 
bibliography.

As you've found, most things that crop up frequently are actually already 
hard-coded in some way (especially html ones). Your first example is actually 
not even a grep search, just a normal find and replace.

Much sympathy with the learning curve, but there's no path ronud the back of 
the mountain, I'm afraid.

--
------------------------------------------------------------------
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]>

Reply via email to