Regular Expressions 101

Community Patterns

Advent of Code 2018 - Day 4 - Guard ID

0

Regular Expression
PCRE (PHP <7.3)

/
(?<=\#)\d*
/
mg

Description

This regex is created to match Guard IDs

Submitted by anonymous - 5 years ago