Regular Expressions 101

Community Patterns

Remove locale ending (en-XX to en)

0

Regular Expression
PCRE2 (PHP >=7.3)

Description

Remove locale ending (en-XX to en) Note: Use /g to test all locales.

Submitted by davidgaroro - a year ago (Last modified a year ago)