синтаксический-анализ

Help me parse the html

Please help me parse the html. I need to enter data in an array according to this principle: $mas[0]=array(00094318,4 500,i ... t;td class="td2 text_right bold">4 500</td> <td></td> <td></td> </tr> </table>

JSON Parsing on Android

Good evening, everyone. There is a JSON file that needs to be parsed. Structure JSON below: { "Italiano" : [ ... algorithm for parsing this file. Please help me! Apparently I myself will not get out of this stopper! Thank you in advance!

The parser.json in PHP

You need to parse this link link I did this: <?php $url = file_get_contents("http://api.dotaprj.me/jd/matches/v130/api ... ; margin:10px auto;">'; foreach($subarray as $item){ echo $item; } echo '</table>'; } ?>

Changing the encoding when parsing

Here lies the parsing script: The situation is as follows: The site that is parsed, it has UTF8 encoding, and the parsing ... to win1251? Now when inserting a script on the site, it is not clear what is output. I would be very grateful for your help.

How to parse Json in Java?

Hello! There is such a response from the server: { "p_result": "ok", "p_item": [ { "p_id": 132 ... sonObject userObject = user.getAsJsonObject(); userObject.get("p_id"); str = userObject.get("p_id").toString(); }

Error in XML parsing

There is xml coming from CURL: <?xml version="1.0"?> <merchant.response> <operation wmtransid="782312540" wmi ... #1 {main} thrown in /home/user1734/public_html/system/modules/settings/balance/info_xml.php on line 22 What is the problem?

Json parser for Delphi

How to parse Json? Are there any normal and easy-to-learn Json parsers?

PDF and DOCX parser

Hello. Tell me, is there a ready-made program that can parse tables in PDF and DOCX?

Denwer and file get contents

There are many records of problems on the web Denwer and file_get_contents when https, but, alas, there is no sensible answer ... , but to write prescriptions with specific medicines. :-) extension=php_openssl.dll - worth it. Денвер - the latest version.

Problem with ajax request when parsing Comfy.ua

Good afternoon. There is a website comfy.ua, where you can select a city (top right). So here's the problem with changing thi ... is, I need to get a page with the changed city, and further parsing is not difficult. I will be very grateful for your help.

Parsing text with tags

Hello everybody! I need your advice. I used the search. Google, too. But apparently I did not learn how to find the necessary ... t;codes lang="css"> //код </codes> If the "codes" tag is found, then enclose this blog with the "pre"tags

Development of a C language parser

On the lab, we were asked to write a parser for the C language: Write a parser that detects the highest number of errors ... cause I don't know what exactly I need, it's stupid to analyze the code somehow?). In any case, a sample code wouldn't hurt.

Where can I pull the results of football games?

I want to make a website with the results of football games, it is desirable to be able to display as much information about ... n't use your own templates there, just output the code yourself. Can someone tell me the optimal solution for this situation?

How to parse an html page in C++?

You need to pick out the text and delete everything that is superfluous, and the text is scattered and divided into table cel ... tml-%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%87%D0%BA%D1%83 Not, very complex page. you need something simpler like habrahabra

The difference for the user between LL and LR parsers

What will be the difference for the user between LL and LR parsers, when parsing the source code of programs, taking into acc ... ject For the token stream: { STRING : STRING } Actually, this is the whole answer to the question, or did I miss something?

How to parse HTML в.NET?

You must extract all URLs from the href attributes of the a tags in the HTML page. I tried using regular expressions: Uri ur ... expression very quickly becomes monstrous and unreadable, and problem areas are discovered more and more. What should I do?

How do I insert a variable value inside a string?

I am writing a class for connecting to the database, which has a method for connecting, selecting from a table, and inserting ... s['hashteg']."')"; $result = mysql_query($addNews) or die(mysql_error()); self::Close(); } }

The parser

You need to build a parser for the concept of parentheses. The program gives incorrect answers to everything, although it is ... is.get(); if (is.peek() != ']') return false; is.get(); }

Parse Whois IP

You need to know the operator and the country of the visitor. Used Whois: $ip = $_SERVER['REMOTE_ADDR']; function who ... nother way to determine the user's operator and / or the database of Ip belonging to operators, I will be immensely grateful.

Parsing text with pyparsing

Hello, help me find the optimal and correct solution to recognize 4 elements in the line text: type, name, teacher, audience. ... author's name without a dot, and when the parser checks the teacher's template, it stops at the dot and throws an exception.