We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
What I am trying to do is lookahead and see it it's a number - if so great! Capture that number (this seems to work). If it's a series of dashes then copy the dashes. What happens now is that if it's not a number, the regex query just merrily skips on to someplace else in the file and grabs that number - sometimes 6 or 8 lines later in the file. And of course this unexpected grab is the wrong data entirely. From there the regex never seems to recover correctly.
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.