Depending on what it is you’re doing, you may not need to use regular expressions for this at all. You can select the lines you want to capitalize (or Select All), and then use “Capitalize Lines” (seleect Text > Change Case > Capitalize Lines in the menu, or use the command palette).
> --
> 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 "
sup...@barebones.com" 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
bbedit+un...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/bbedit/d4cafcad-296a-43ac-885e-c4966ba3e7ab%40bluewin.ch.