You read the whole html into a string variable and use regular expressions to look for the values.
How parsing/browsing data according to an html file
hello every one, for a project based on provided HTML file, we should prepare a parser and get the data to csv file
We need to get the following data into a csv file:
- Tracking Number,
- PO Number
- `Scheduled` Date in the following date-time format (Y-m-d H:i).
- Customer,
- Trade,
- NTE (as a float number – without formatting)
- Store ID,
- Address broken down into:
• Street,
• City,
• State (2-letter initial),
• Zip-code,
• Phone number (without formatting).
could someone please give me some advice on this ? they told me you should use node for such cases , also it's for backend php position
link to html file #https://drive.google.com/file/d/1Tubts4J7uFV4PBAXlPQxyPflLhw5ifsp/view?usp=sharing
@dev.khosromanesh Node is a JavaScript tool that among other things allows you to run JavaScript outside of the browser.
Sure you can use JavaScript to do it, but that seems unecessary to me when you have php to handle everything in the background,
Please or to participate in this conversation.