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

> On Jan 22, 2025, at 03:52, Samuel Arnet <[email protected]> wrote:
> 
> I need a GREP to find each lower case character at the beginning of a line 
> and replace it with its uppercase counterpart.
> 
> So I search for
> 
> ^([[:lower:]])
> 
> What do I write in the Replace field?
> 
> Thanks
> Sam 
> -- 
> 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/d4cafcad-296a-43ac-885e-c4966ba3e7ab%40bluewin.ch.

-- 
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/041DEB86-E707-4343-BC04-2825B7A53CC3%40gmail.com.

Reply via email to