Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. validating multiple email addresses separated by comma

validating multiple email addresses separated by comma

Scheduled Pinned Locked Moved C#
javatoolsregexhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    babutkchn
    wrote on last edited by
    #1

    hi all, i want to validate a text box which is used to enter multiple email addresses. can anyone of u tell, is it possible to use regular expression validator? or have to use java script?? kindly give a solution for the above problem. thanks in advance Regards Babu

    G 1 Reply Last reply
    0
    • B babutkchn

      hi all, i want to validate a text box which is used to enter multiple email addresses. can anyone of u tell, is it possible to use regular expression validator? or have to use java script?? kindly give a solution for the above problem. thanks in advance Regards Babu

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      To validate comma separated values you just have to use a repeating pattern. For a simple example, to verify a string of comma separated characters "a,b,x,y,z", you can use a pattern like "[a-z](,[a-z])*". To use it with email addresses, just substitute the [a-z] set with the pattern for an email address.

      --- Year happy = new Year(2007);

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups