Edwin Horneij wrote: >I just tested your code on my machine and it works fine. Perhaps the >problem is in the string you are feeding to the regex. > >As far as references go, Jeffry Friedl's _Mastering Regular >Expressions_ is _the_ book on the subject. > > yep, stripslash()'d the stroing and away she went. sheesh :) Thanks anyway :) Paul B