in reply to regex prob

It turns out that you can just write \w - that matches any alphanumeric character just once. It is identical to your expr above.
  -Adam

Update: Of course, if the <br> above was intentional, that would go just after your \w.

Replies are listed 'Best First'.
Re^2: regex prob
by Eimi Metamorphoumai (Deacon) on May 13, 2005 at 04:04 UTC
    \w also includes _ (the underscore character). In most places it really doesn't matter, but it is a minor difference.
      Actually didn't realize that! Thanks!  Best,  -Adam