Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
((asia|europe|us|australia)|((north|south)(america|africa)))-((east|west|central|north|south)|((north|south)(east)))([0-9]{1,2})
/
gm

Description

It is the regex code used to parse the regions of the servers where Google Firebase, Firestore and Cloudfuntion are hosted.

Resources:

Submitted by Ramazan Sancar (gh:@ramazansancar) - a year ago (Last modified a year ago)