I need to strip out any characters that aren't "database safe". I always seem to get lost when trying to write my own regexs. Can't seem to wrap my mind around it. So my question is, 1. What characters should I strip out for database stability and the big one 2. How do I properly do it through a regex.
I've done some googleing on this and read some articles on regexs. I'm using the latest Activestate Perl, running it through a cgi web interface and the database is Postgres 8.1.3.
Any direction you can give me will be appreciated.
Thank you in advance.