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.
|Vb script to unzip a files and rename the files||12||129|
|How to replace a token in a string with square brackets?||2||99|
|How to translate this 2-line while loop into C from Perl?||8||162|
Join the community of 500,000 technology professionals and ask your questions.