Regular Expressions 101

Library entries

LaTeX Greek letters

Vote

1

Regular Expression
pcre

/
(?<greek_letter>\\?\\(?:alpha|[bz]?eta|(?:dig|g|G)amma|[Dd]elta|[Uue]psilon|[Tt]heta|iota|kappa|[Ll]ambda|[mn]u|[Xx]i|[Pp]i|rho|[Ss]igma|tau|[Pp][hs]i|chi|[Oo]mega|var(?:epsilon|theta|rho|ph?i|kappa|sigma)))
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago