All Questions

417
votes
12answers
345103 views

PHP Parse/Syntax Errors; and How to solve them?

Everyone runs into syntax errors. Even experienced programmers make typos. For newcomers it's just part of the learning process. However, it's often easy to interpret error messages such as: PH...
1784
votes
28answers
341368 views

How do you parse and process HTML/XML in PHP?

How can one parse HTML/XML and extract information from it?
673
votes
29answers
1003527 views

How to parse JSON

I have the following JSON text that I need to parse to get pageName, pagePic, post_id, etc. What is the required code? { "pageInfo": { "pageName": "abc", "pagePic": "http://exam...
1446
votes
16answers
1699250 views

Parse JSON in JavaScript?

I want to parse a JSON string in JavaScript. The response is something like var response = '{"result":true,"count":1}'; How can I get the values result and count from this?
51
votes
4answers
383089 views

How to parse JSON in Android

Where can I find step-by-step instructions on how to parse a JSON feed in Android? I'm just an Android beginner wanting to learn.
152
votes
8answers
47503 views

Regular expression pattern not matching anywhere in string

I am trying to match <input> type “hidden” fields using this pattern: /<input type="hidden" name="([^"]*?)" value="([^"]*?)" />/ This is sample form data: <input type="hidden" n...
182
votes
31answers
229247 views

How can I read and parse CSV files in C++?

I need to load and use CSV file data in C++. At this point it can really just be a comma-delimited parser (ie don't worry about escaping new lines and commas). The main need is a line-by-line parser...
66
votes
15answers
364175 views

What is the best way to parse html in C#?

I'm looking for a library/method to parse an html file with more html specific features than generic xml parsing libraries.
72
votes
6answers
42566 views

Is there an alternative for flex/bison that is usable on 8-bit embedded systems?

I'm writing a small interpreter for a simple BASIC like language as an exercise on an AVR microcontroller in C using the avr-gcc toolchain. However, I'm wondering if there are any open source tools ou...
218
votes
6answers
338023 views

How to read XML using XPath in Java

I want to read XML data using XPath in Java, so for the information I have gathered I am not able to parse XML according to my requirement. here is what I want to do: Get XML file from online via it...

Previous Next