You could also look at \b in pattern matching. Use \bword\b to patch the word and _nothing_ else...
UPDATE: Chromatic has pointed this one out :)
chromatic says Re:
"Complete match" regexes
has an incorrect
explanation. \b matches
word *boundaries*. A
regex not anchored can still
match other things.
<font color="#0000ff"<Azatoth a.k.a Captain Whiplash
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?