I have 2 strings "0000000000ABCDEF" and "1234567890ABCDEF" and I'm trying to find out how to capture "1234567890ABCDEF" using regular expression which has a rule that the first 10 characters must not be all zeroes "0".
Edit:
Thanks for all the useful comments so far.
My apologies if there is any confusion, by capture I mean to match a regular expression with "1234567890ABCDEF". And the same regular expression should not match "0000000000ABCDEF", therefore I felt that the design I'm trying to come up with should contain a rule that checks:
1) the first 10 characters cannot be all zeroes
I tried something like this (?!0{10}).* but it atill matches "0000000000ABCDEF". I guess I'll read up more on regular expressions.