Hi Martin,

This regex will catch the contents of a double quote string after an equal 
sign with and without a space:

((?<==")|(?<=\s"))[^"]*?(?=")

BTW, if you want to edit a tag's attributes you could also right click on 
the tag and select "Edit Markup…" in the pop-up menu.

HTH

Jean Jourdain

On Saturday, March 8, 2025 at 9:18:37 AM UTC+1 Martin Post wrote:

> I have been using BBEdit for decades, but there is one thing I have never 
> been able to figure out: Is there a keyboard shortcut to select the next 
> attribute of a HTML parameter? I.e., something to select “foo” and then 
> “bar” (without the quotation marks) in <span class="foo" title="bar">? This 
> would make editing complex HTML so much easier.
>
> (I can grep "[^"]+", but this will select the quotation marks as well.)
>
> Thank you.
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bbedit/332f9b10-aa8a-4beb-9517-9053b0df7f23n%40googlegroups.com.

Reply via email to