Regular Expressions 101

Library entries

RE_STUDENT_AT_LEAST

Vote

0

Regular Expression
pcre

/
(?P<student_id>\d{7})(\D)*?(-(?P<page>\d{1,2}))?(-(?P<copy>\d{1,2}))?(\.(?P<ext>\w+))?$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago