Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
I'm looking for a way to either replace a space (blank character) with a "-" when submitting a form, or a regex-expression to report error when a space is used in the form filed.
Thanks for any good advice.
Best, Morten
Comment author was deleted
Quick google search give me this result http://stackoverflow.com/questions/446108/regular-expression-for-no-blank-space-b-w-text give it a try :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Regex, Contour
Hi
I'm looking for a way to either replace a space (blank character) with a "-" when submitting a form, or a regex-expression to report error when a space is used in the form filed.
Thanks for any good advice.
Best, Morten
Comment author was deleted
Quick google search give me this result http://stackoverflow.com/questions/446108/regular-expression-for-no-blank-space-b-w-text give it a try :)
is working on a reply...