I have rules for some database fields that only allow alphanumeric and the dash character.
I am creating flatfile data to be imported and I am wanting to clean up the data submitted from a webpage form.
I am thinking
to strip out the unwanted characters. But it doesn't seem to work right. My regex skills aren't too fabulous.
Pesky dash. TIA.