Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-05-11 12:59
Flavor·Python

r"
[a-zA-Z]+://[a-zA-Z]+\.[a-zA-Z]+/[a-zA-Z]+([+-]?(?=\.\d|\d)(?:\d+)?(?:\.?\d*))(?:[eE]([+-]?\d+))?_[0-9]+
"
gm
Open regex in editor

Description

Extract the numerical ID of a VK Commmunity fromit's wall url.

Submitted by anonymous