By EDDYL on
Hello drupalers,
I have a folder of 5000 html files. Each of them is a chemical product specs sheet.
I need to build a database out of it. I know how to parse the folders, etc, but don't know how to write regex myself (actually, it took me half a day to make the two easiest one ;-) and there is about +50 regex to write.
Therefore, I am looking for a easy REGEX GENERATOR / BUILDER / ...
i found some on the net, but none is corresponding to what i search.
What I would like is to paste the global text, and select the specs I want to capture and let the tool look for the before / after tags that are needed to grep that specs.
If some of you know a tool for that, your advice is welcomed.
Edouard
Comments
Do you really need regex or
Do you really need regex or would it make more sense to use an html parser that allows you to fetch data by tags and more?