Regular Expressions 101

Community Patterns

match the id of linkedin url

0

Regular Expression
PCRE2 (PHP >=7.3)

/
.*?linkedin.com\/[a-z A-z 0-9]+\/([a-z A-z 0-9 -]*)\/*
/
gm

Description

match the id of LinkedIn URL

Submitted by goldentwon - a year ago