Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^https:\/\/www\.roblox\.com\/games\/\d{1,}\/?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$
/

Description

Checks, if the value is a url of a roblox game

Submitted by Justman10000 - a year ago