How can I write my name with this condition (First name can only contain alphanumeric characters, hyphens and apostrophes)

5 pts.
Tags:
PHP
SQL
How can I write my name with this condition (First name can only contain alphanumeric characters, hyphens and apostrophes)? Can anyone help me?

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    What is the background of your query. What software (like database/ front-end) are there. Is it an office environment or for an individual project. Please come back with more details.
    81,590 pointsBadges:
    report
  • ToddN2000
    Sounds like a homework question. What code have you tried and have you gotten any errors?
    77,295 pointsBadges:
    report
  • carlosdl
    How does that relate to SQL or PHP (the question tags)?

    How do you want to write it?  By hand?

    Without more details, the question has nothing to do with this site.
    84,195 pointsBadges:
    report
  • Harisheldon
    Sounds like midterms are upon us. What language are you using?
    12,855 pointsBadges:
    report
  • TheRealRaven
    What is your name?

    If you can answer that question here, then you can answer your own question. (That is, unless your first name contains something other than "alphanumeric characters, hyphens and apostrophes"; and if it does, we'd like to see it so we can figure out a useful answer.)
    21,835 pointsBadges:
    report
  • ToddN2000
    Any luck yet? Post the code you have tried for us to take a look at.
    Knowing you first name will help as will because I cannot think of one I have ever seen that would contain anything else. You could probaly use a regex for validation.
    77,295 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: