Android Question [SOLVED]Regex help

stanks

Active Member
Licensed User
Longtime User
hi

i have this pattern

B4X:
[0-9]{3}([A-Z]{3})[0-9]{3}\s+((?:20|1?[0-9]),\d{6})\s+((?:20|1?[0-9]),\d{6})\s+((?:20|1?[0-9]),\d{6})\r?\n

which works ok. in it i have 4 groups. now my file have 2 or more same lines that this pattern can catch, but after reading and reading all about backreferences and repeating backreferences i still don't know how to add smthg to this pattern so i will catch again that 4 groups and check them with log, until i get to the end of file.

any1 can help me with this?

thanks ni advance
 

Similar Threads

Top