I have a big XML file (~20 MB) that contains among others such lines:
<BUR value="0.01" />
Now I want to find all lines where value is greater than 0.33. How can I do this in Windows?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Hm. Matching number ranges isn’t regexes’ strong suit.
A regex that would work on arbitrary precision floats (except for exponential notation) could look like this:
In PowerShell, which comes with Windows Vista, you could iterate over all lines that contain a matching string like this: