Regular Expressions 101

Community Patterns

Google extract id

1

Regular Expression
PCRE (PHP <7.3)

/
(?:https?:\/\/)?(?:www\.)?plus\.google\.com\/([\w]+\/)?([\d]\/)?([+]?[\w(\_\-)?p{L}]+|[\d]{21})(?:\/)?(?:[\w(\-\_)?]+)?
/
gi

Description

no description available

Submitted by Razvan Suciu - 8 years ago