Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r'''
(?x) https?:// (?: (?:www|m)\. (?:tiktok.com)\/ (?:v|embed|trending) (?:\/)? (?:\?shareId=)? ) (?P<id>[\da-z]+)
'''
gm

Description

Submitted by anonymous - 5 years ago