Regular Expressions 101

Sponsors

Library entries

0
pcre2

track OM cash out

cash out tracker
Submitted by anonymous - 13 hours ago
0
pcre2

Php

Php
Submitted by Nickname - 18 hours ago
0
pcre2

VAQ234S

1
Submitted by anonymous - 3 days ago
0
pcre2

belcorp

test
Submitted by anonymous - 6 days ago
0
pcre2

C/F temp unit

me
Submitted by anonymous - 7 days ago
0
pcre2

Postfix

Add DR to end of line
Submitted by anonymous - 8 days ago

MAC Address

Vote

0

Regular Expression
javascript

/
^(?:[[:xdigit:]]{2}([-:]))(?:[[:xdigit:]]{2}\1){4}[[:xdigit:]]{2}$
/

Description

Loading markdown...
Submitted by Pilcrow - http://stackoverflow.com/questions/4260467/what-is-a-regular-expression-for-a-mac-address - 5 years ago