Skip to main content
SuzzyFlamingo
Inspiring
February 9, 2026
Answered

Need help with GREP

  • February 9, 2026
  • 1 reply
  • 26 views

Hi, Dear Friends!

 

I need to change the font size of a certain letter, but also its vowels (in Hebrew). If i just search for the desired leter it doesnt help for the vowels, which are usually 1 diacritic AFTER the letter itself, but could be up to 4 diacritics.

 

I guess the way to do this would be to search for CHAR + anything after it until, but not including the next char.


But alas, I could not write grep expressions even if my life depended on it…

Can anyone help?

TIA to all!
 

Thank you, and have a good day!
Susan Flamingo

    Correct answer Eugene Tyson

    You could try something like 

     

    [אבגדהוזחטיכלמנסעפצקרשת][\x{0591}-\x{05C7}]*

    First part is the base letter inside the [] so you can add remove as necessary

    Second part [\x … ] should be the vowels / diacritics

    and the * matches 0 or more times.

     

    @Peter Kahrel has corrected unicode ranges on me before, so hopefully has some insight if it’s right or could be better. 

     

    But I’d start with something like this. 

     

    If it’s too complex or too many errors

    try one at a time

    ב[\x{0591}-\x{05C7}]*

    1 reply

    Eugene TysonCommunity ExpertCorrect answer
    Community Expert
    February 9, 2026

    You could try something like 

     

    [אבגדהוזחטיכלמנסעפצקרשת][\x{0591}-\x{05C7}]*

    First part is the base letter inside the [] so you can add remove as necessary

    Second part [\x … ] should be the vowels / diacritics

    and the * matches 0 or more times.

     

    @Peter Kahrel has corrected unicode ranges on me before, so hopefully has some insight if it’s right or could be better. 

     

    But I’d start with something like this. 

     

    If it’s too complex or too many errors

    try one at a time

    ב[\x{0591}-\x{05C7}]*

    SuzzyFlamingo
    Inspiring
    February 9, 2026

    thank you. works fine