Regular Expressions 101

Community Patterns

Github URI Validator

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?:https|http)\:\/\/github\.com\/([a-zA-Z0-9]+)\/([a-zA-Z0-9\.\-_]+)$
/
isg

Description

Validate Github URI

Submitted by Shoaiyb Sysa - 2 years ago (Last modified 2 years ago)