Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-06-23 15:25
Flavor·PCRE2 (PHP)

/
^(\S+\s)Get\/(gradebook|assignments|activity)\/(?(?=\d+$)(\d*)|\d+\/(\d+))
/
gm
Open regex in editor

Description

/333 or /333/333

Submitted by anonymous