\r\n \r\n
\r\n
Quote:
\r\n
\r\n \r\n | \r\n \r\n \r\n Originally Posted by Richard Crist\r\n \r\n \r\n 1) You would like to find only rows with two 6-digit numbers? \r\n2) And then pull out those two 6-digit numbers for use later? \r\n3) So only row 2 above is a good row, and from that row you want the numbers 123456 and 777777 for use later? \r\n \r\n | \r\n
\r\n
\r\n
Since the poster hasn\'t replied and this thread seems popular, I shall post the answer.
\r\n
\r\n\\D*(\\d{6})\\D+(\\d{6})\\D*
\r\n
\r\nThis says find:
\r\nzero or more non-digit characters
\r\nfollowed by a 6 digit number
\r\nfollowed by 1 or more non-digit characters
\r\nfollowed by zero or more non-digit characters
\r\n
\r\nThe numbers you want will be in groups 1 and 2, represented by the first and second parentheses.
\r\n
\r\nInformation can be found
here.\r\n