This website requires JavaScript.
Explore
Help
Sign In
atomaka
/
atomaka.com
Watch
1
Star
0
Fork
You've already forked atomaka.com
0
Code
Pull Requests
Releases
Wiki
Activity
master
atomaka.com
/
_posts
/
2013-02-02-serious-regular-...
179 B
Raw
Permalink
Blame
History
layout
title
tag
post
Serious Regular Expressions
humor
$n = '[0-9]'; $reg = '/^[AZ]'.$n.$n.$n.$n.$n.$n.$n.$n.'$/'; if(preg_match($reg, $id)) { // ... }