Page 1 of 1
Cheat Sheet
Posted:
Sun Sep 05, 2004 9:46 pm
by Smite
Posted:
Sun Sep 05, 2004 9:57 pm
by dexter
Nice. I just stickyfied you.
Posted:
Wed Feb 16, 2005 12:23 am
by georger
Did not see this on the cheat sheet, but is this right for filtering (out) numbers only?
^[0-9]+$
And this would be to filter out any jpg prefixed with numbers:
^[0-9]+$\.jpg
Yes?
Posted:
Wed Feb 16, 2005 1:47 am
by dexter
The ^ for "not" doesn't work. You can put
[0-9]+\.jpg
in the reject field, that will work.
Posted:
Sat Mar 11, 2006 1:01 pm
by bobkoure
It's moved (slightly) to
Links not allowed for unregistered users
Posted:
Sat Mar 11, 2006 3:33 pm
by mcwebtree
I was about to say, but surely the addresses are both exactly the same...
But then I noticed that Smite had edited his entry! D'oh.
Posted:
Sat Mar 11, 2006 6:02 pm
by Smite
Yeah. Thanks for the heads up.
Posted:
Wed Aug 09, 2006 5:32 pm
by bobkoure
While we're at it, there's a complete regex tutorial at Links not allowed for unregistered users.
RegEx coach
Posted:
Wed Feb 25, 2009 11:29 pm
by RevRagnarok
I have used
RegEx Coach when I am doing Perl development, I like the way it will walk you thru stuff.
Re: Cheat Sheet
Posted:
Thu Sep 01, 2011 5:17 pm
by mbourgon
A waaaay late entry to the party.
You can also use \d instead of [0-9]. Saves a couple characters.
Re: Cheat Sheet
Posted:
Thu Sep 01, 2011 5:38 pm
by Quade
Never too late for RE's.
Re: Cheat Sheet
Posted:
Mon Feb 20, 2017 9:18 pm
by rh
Seems like a good place to share this. I don't use Regex enough to become very proficient, let alone master it. Recently I came across the free (with registration) tool below and I've used it a few times to test RE's that I use with NB. Took a tiny bit of time getting the hang of it and I hardly use its full potential, but It's real handy.
http://www.ultrapico.com/Expresso.htm
Re: Cheat Sheet
Posted:
Tue Feb 21, 2017 7:27 pm
by dexter
Nice, good find.