in reply to Re: How to write a regular expression to extract a number from an embedded string?
in thread How to write a regular expression to extract a number from an embedded string?

You're making the same mistake everyone else is making. He wants eight numeric digits after 5163, and wants to preserve whitespace in addition to the eight numeric digits. You're going to end up returning less than the eight numeric digits if the input string contains whitespace. That's not what his question asks.


Dave

  • Comment on Re^2: How to write a regular expression to extract a number from an embedded string?