On 23/02/2011, at 10:11 , Ronald J Kimball wrote:

> I'm also assuming that all the img tags use double-quotes around the value
> for the src attribute, because it makes the regex simpler…

> (<img\s[^>]*src="(?:[^"]+/)?[^"/.]+)"

Because regexes are being mentioned, I am compelled to remind people about the 
excellent publication "Mastering Regular Expressions" - an O'Reilly book (so 
you *know* it's good): http://oreilly.com/catalog/9780596528126/

There is also the website http://www.regular-expressions.info/ - which is 
basically a big advertisement for "RegexBuddy" (but it's a Windows application, 
so of little use to BBEdit users)

Apologies for the diversion
Alex

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to