Regex for uppercase (capital) letters

Hi! I’m trying to extract only capital letters from a string. But the problem is, I’m just a beginner and don’t know what should I write as a Matches Pattern. Can anyone help? Thanks in advance.

@EmirY
welcome to the forum

have a try on following pattern:
grafik

Thank you very much for your help, but it highlights both lowercase and uppercase letters. What am I doing wrong?

have alook below and unselect Ignore case option

2 Likes

@EmirY

Hope this may help you

Thanks

1 Like

Hello @EmirY ,

To continue learning about Regex, check this megapost:

I hope it helps.

Vasile.

1 Like

thanks it works

I’ll check it out, thanks :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.