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. My regular expression skiping one data How can I fix it [modified]

My regular expression skiping one data How can I fix it [modified]

Scheduled Pinned Locked Moved C#
questionhelpcsharpregex
1 Posts 1 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.
  • N Offline
    N Offline
    Naveed727
    wrote on last edited by
    #1

    This question is not related to C# but I am using it in C# and there is no message board for Regular Expression there for I am posting my question, and I hope some one will solve my problem. I have this regular expression "(ABC.\d.)(?.*?)*(ABC.\d.)" and the following data on which I am applying it. ..... DATA To grab from Regular expression ABC.1. Recreation. As of June 30, 2007, the balances provided in the following citations shall revert to the fund ABC. 2. Recreation. As of June 30, 2007, the balances provided in the following citations shall revert to the fund ABC. 3. Recreation. As of June 30, 2007, the balances provided in the following citations shall revert to the fund ABC. 4. Recreation. As of June 30, 2007, the balances provided in the following citations shall revert to the fund But unfortunately it grabs only ABC.1,ABC.3,ABC.5,ABC.7 and so on it means this regular expression is skipping one step. Is there any one who can tell me how can I correct this problem. That it should not skip any sequence where it got ABC.\d. it should grab data until it found next ABC.\d. Thanks in advance :rose:

    modified on Wednesday, February 18, 2009 1:40 AM

    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