Regular Expressions 101

Sponsors

Library entries

0
pcre2

alphabet and number allowed

/^(?=.?[a-zA-Z])(?=.?[0-9])/gm
Submitted by anonymous - 7 months ago
0
pcre2

Coordinates Validation

This is for validating coordinates
Submitted by anonymous - 7 months ago
0
pcre2

thx hjpotter

Thanks
Submitted by hjpotter92 - 7 months ago
0
javascript

Indian RTO

RTO code for validation
Submitted by Rama - 7 months ago
0
pcre2

Octal regex

Octal regex
Submitted by anonymous - 7 months ago
0
pcre2

hexadecimal

Hexadecimal regex
Submitted by anonymous - 7 months ago
0
golang

Changelog commit template

Changelog commit template
Submitted by anonymous - 7 months ago

Valid email regexp in Go

Vote

1

Regular Expression
golang

`
^(?P<name>[a-zA-Z0-9.!#$%&'*+/=?^_ \x60{|}~-]+)@(?P<domain>[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$
`
gm

Description

Loading markdown...
Submitted by markus@maragu.dk - a year ago