S
S
SciFi2015-05-12 17:30:16
Parsing
SciFi, 2015-05-12 17:30:16

Is there a replacement for regular expressions for parsing complex data?

I have some huge text. This text contains the data I need. This is some reporting data. Some of the data people copy-paste from other reporting systems (each of which formats according to its own rules). At the same time, people can remove some data. For example, a phone number.
Sample data:
Temperature: 37.2
Date/Time: 02/14/2015 04:53:12 PM
Phone: 5223411 Check
code: 34220123523
---
Temperature 36.7 Time: 02-14-2015 04:53:12 PM Phone: xxxxx12 Check code: 34220123523
Me you need to receive data even if the user removed some of the numbers in them. It also happens that the user writes like this:
37 February 14 7584122 34220123523
Are there any tools for parsing such data? Maybe the services are even paid? I can not completely block all options with regular expressions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-05-12
@sim3x

https://tech.yandex.ru/tomita/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question