Regular Expressions 101

grabs the ID for the regex101.com

Open Workspace
  • PCRE (Legacy)
  • Substitution
0

Regular Expression

/
^http(?:s?):\/\/regex101\.com\/r\/([a-zA-Z0-9]{1,6})?$
/
gm

Description

grabs the ID for the regex101.com permalink to code

Submitted by Anonymous