RegExp that matches any String containing "0-9" and "." and "-" and " "

Posted by tzippy on Stack Overflow See other posts from Stack Overflow or by tzippy
Published on 2010-05-11T16:13:34Z Indexed on 2010/05/11 16:14 UTC
Read the original article Hit count: 164

Filed under:

I need t check every line of a file for the following pattern: - 14 Values seperated by an irregular number of spaces. - Values may be negative (-), decimal seperator is a dot followed by maximum one digit - The line ends with several spaces

here is an example line:

10015 20100501  1    4.6    6.4    8.4   10.5   86.6    4.0   13.0    0.9    6.4    0.0 1007.2                                      

Thanks!

© Stack Overflow or respective owner

Related posts about regex