Regex with Java, multiple lines -



Regex with Java, multiple lines -

i have series of blocks match format

724280 141105/1300 1022.90 992.20 8.44 282.80 0.00 51.00 0.00 0.00 284.70 100.00 0.00 100.00 0.00 0.80 0.90 0.00 0.01 7.94 5.81 0.00 0.00 0.00 0.00 11.10 -8.70 39.40 -0.02 999.00 471.90 20.00 5.68

what's regular look utilize find these blocks (there 84 of them within document)?

to clarify: it's 6 line block

integer integer"/"integer double double double double double double double double double double double double double double double double double double double double double double double double double double double double double double double

i beginner. may this: -?\d+\s+-?\d+\/-?\d+\s+(-?\d+\.\d+(\s+)?){31}

description:

-?\d+ - integer

\s+ - spaces

-?\d+\/-?\d+ - integer int/int

\s+ - spaces

(-?\d+\.\d+(\s+)?){31} - 31 doubles

java regex

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -