Just escape the $   /HK\$/  works fine.

Mike

Joel Gwynn wrote:

> OK.  I suck at regex's.  Here's the thing.  For my currency converter, I've
> got a bunch of currency symbols, like $, DM, HK$, etc.  Let's say I want to
> match a price in Hong Kong dollars.  The symbol is HK$ and I want to match
> HK$, not $.  What's the regex to do this?
>
> TIA all.
> ---------------------------------------------------------------------
> Joel Gwynn                              Designers' CADD Company, Inc.
> A bus station is where a bus stops.
> A train station is where a train stops.
> So now you know why they call this a workstation...

Reply via email to