Assuming you already did your first step resulting in 

Am 19.04.2012 um 19, 22:54 schrieb Brad Ummer:
> <h3><a name="This is some string of variable length">This is some string of 
> variable length</a></h3>

You could search for:
name="(.+?) (.+?)"

and replace it with:
name="\1_\2"

You would have to hit "Replace All" until you get no further hits to replace 
all spaces one by one.

This is the quick and dirty solution. AFAIK there is no way to do it in one go 
with regular expressions. You would need a script to achieve that - of course 
this could take longer to put together than to hit "Replace All" a few times.

Hope, this helps,
Roland

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