I'm having some tough times learning regular expressions.... so I guess I'll just ask:
I have one preg_replace set up to strip anything but alphanumeric symbols:
preg_replace("/[\w\d]/", "",$fname).'"';
I would like another to strip anything but alphanumeric, periods, underscores and @ symbols (passing email address).
I would like another for alphanumeric AND spaces.
If you could supply them, I think it'll start 'ringing a bell' on teaching me these.
Appreciate the help!
Doug