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. Regular expression help me

Regular expression help me

Scheduled Pinned Locked Moved C#
regexhelpdatabasecom
4 Posts 4 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.
  • R Offline
    R Offline
    rockxuyenmandem
    wrote on last edited by
    #1

    Write a regular expression pattern to match: 1. a full URL (for ex :http://www.yourcompany.com/index.htm ) 2. Human name (case sensitive) for ex : Jonh Smith Plz help me to answer this problem Thanks very much. I tried so hard and got so far

    A G D 3 Replies Last reply
    0
    • R rockxuyenmandem

      Write a regular expression pattern to match: 1. a full URL (for ex :http://www.yourcompany.com/index.htm ) 2. Human name (case sensitive) for ex : Jonh Smith Plz help me to answer this problem Thanks very much. I tried so hard and got so far

      A Offline
      A Offline
      Alex Korchemniy
      wrote on last edited by
      #2

      :rolleyes: There are website out there that have all sorts of regex expressions. Hint: search for "regular expression library" or something similar. Alex Korchemniy

      1 Reply Last reply
      0
      • R rockxuyenmandem

        Write a regular expression pattern to match: 1. a full URL (for ex :http://www.yourcompany.com/index.htm ) 2. Human name (case sensitive) for ex : Jonh Smith Plz help me to answer this problem Thanks very much. I tried so hard and got so far

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

        Is this your homework? --- b { font-weight: normal; }

        1 Reply Last reply
        0
        • R rockxuyenmandem

          Write a regular expression pattern to match: 1. a full URL (for ex :http://www.yourcompany.com/index.htm ) 2. Human name (case sensitive) for ex : Jonh Smith Plz help me to answer this problem Thanks very much. I tried so hard and got so far

          D Offline
          D Offline
          Daniel Grunwald
          wrote on last edited by
          #4

          URL: how about this one: http://www.foad.org/~abigail/Perl/url3.regex[^]? Though you could shorten it a bit if you only want http and not check for every detail... Human name (case sensitive): This is not possible (or equally complicated to url3.regex) because names are different in every country. You want that every 'word' starts with an uppercase letter? Then your regex won't work for many non-English names that have some sort of 'filling word' between first and last name.

          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