in reply to Re: Search question : Price Regex
in thread Search question
Dave... again you have enlightened me... I have incorported this little sniplet into the previous (4) finds before printing $desc... works great!!! Once again... a major thanks from me to you...
The only line I don't quite understand is this one :
if ($desc =~ m/\$(\d{1,3},?[\d{3},?]*\.?\d{0,2})/) {
It's looking to match any decimal- but I don't get the (1,3) or the (3},? --- does it mean any decimal up to 3 places prior to the comma??? I tried using a 15001-999999 search criteria and it doesn't seem to like the 6 decimal places...
Your help is tremendous... I owe you one....
_______SysAdm
2001-03-11 Edit by Corion : Removed PRE tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Search question : Price Regex
by dfog (Scribe) on Mar 12, 2001 at 19:58 UTC |