jkj2001
Posts: 142 Joined: Fri Mar 29, 2002 1:39 pm
Post
by jkj2001 » Tue Oct 28, 2003 8:40 pm
Hi,
I have some filenames stored in a database column. I'm looking for those which follow this pattern:
number number carat...
Like this, for instance (no quotes)-- "06^03 CMU RATEMOD.xls"
Could someone help me with a rex expression for this? Thanks!
John
Site Admin
Posts: 2622 Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:
Post
by John » Tue Oct 28, 2003 11:00 pm
A REX expression to match it would be:
>>=\digit\digit\^=
John Turnbull
Thunderstone Software
jkj2001
Posts: 142 Joined: Fri Mar 29, 2002 1:39 pm
Post
by jkj2001 » Wed Oct 29, 2003 11:16 am
Thanks John-- why the equals sign at the end, btw?
John
Site Admin
Posts: 2622 Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:
Post
by John » Wed Oct 29, 2003 11:46 am
That means one occurrence of the preceding subexpression (\digit\digit\^), and is not technically required at the very end of the expression, but is useful to have in case you wanted to add more to the end of the expression.
John Turnbull
Thunderstone Software