Hi Martin,

This regex will select the content of a double quote string after a '=' or 
a '=' and a space:

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

BTW, if you right click on a tag you can select the "Edit Markup…" pop-up 
menu item and edit your tag in a form.

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/4f17b055-b53e-426a-b86f-68a6f37a7182n%40googlegroups.com.

Reply via email to