Regular Expressions 101

Community Patterns

Google plus post regex

1

Regular Expression
PCRE (PHP <7.3)

/
(?:http(?:s)?:\/\/)?(?:www\.)?(?:plus\.google\.com\/|apis\.google\.com\/)(?:.+\/)?([^\?&\"'>\/^]+)(?:\/posts\/)([a-zA-Z0-9]+)
/