Parsing refers to breaking an artifact into its constituent elements and capturing the relationship between those elements. Do not use this tag for questions about the hosted service Parse.com (use [parse.com] instead) or about "parse errors" generated by PHP code (just use [php]).

learn more… | top users | synonyms (3)

0
votes
0answers
2 views

highcharts plotting wrong date time

I am plotting some date with respect to datetime and passing date in UTC format but its plotting date from 1 - jan- 0001 ; this is how i am converting epoch to date .. its working correct for(var ...
0
votes
1answer
21 views

CSV parsing returns an empty array

I have a super simple CSV file ( about 500 lines, 14.5k ) which I need to put into an array which Later I will need to check the ID column against other data set . The CSV is like so : id,mail,Plan ...
2
votes
0answers
49 views

Python 3 Regex Last Match

How do I grab the '123' part of the following string using Python 3 regex module? '....XX (a lot of html characters)123' Here the '...' Part denotes a long string consisting of html characters, ...
0
votes
0answers
4 views

How to modify input stream in Javacc?

Is there a way in which we can modify the input stream during parsing using Javacc ? I have a use case where I want to replace a token with a string during parsing and then parse that replaced string. ...
-1
votes
0answers
19 views

user_agent parsing lib in Java [closed]

Has anyone tried using any libs for parsing the user agent string in Java? I found three different libs here: 1) user-agent-utils: https://user-agent-utils.java.net/ 2) UADetector: [at the bottom of ...
-1
votes
1answer
27 views

How do I search and parse data in Rails? [closed]

I am trying to use Rails to develop a program that can get data off websites, parse specific data, and pre-populate a form with that data. I was able to get the data using Net::HTTP.get(uri) but it ...
0
votes
1answer
21 views

Jsoup seems to be caching, can I disable this?

So I'm trying to use reddit.com/r/subreddit/random to get a random link from /r/nocontext. However, it seems to bring me to the same link repeatedly should I put this code in a loop. This brings me to ...
0
votes
1answer
19 views

parsing xml tags in a specific order in python

I want to load some tags with a specified order from an xml file into python as below: <data> <testset name="ts1" order="1" descrption="this is ts1 descrption"> <testcase ...
-1
votes
1answer
22 views

Android: reading PHP-generated XML output [closed]

I'm trying to parse a PHP-generated XML file. The parser itself works - it processes a XML file (../locnames.xml) I specify without problems. However, if I point to a PHP script (../locnames.php) that ...
0
votes
1answer
7 views

Xpath searching for element inside a string rather than the entire thing

I'm using simple html dom parser and i'm trying to get the company name from the following string: <a data-omniture="LIST:COMPANYNAME" ...
0
votes
0answers
13 views

WPF Browser Control Giving 400-Bad Request

I am completely lost on why this seems to be happening. I created a simple wpf web browser window control and it will load every website except the one I want. If I enter http://www.google.ca it ...
2
votes
1answer
15 views

Parse elements out of markdown

I want to parse markdown files for specific elements (such as links) and get values out of those elements, and I fail to find a way for that using python-markdown package. Is it possible to do it ...
0
votes
3answers
24 views

js json parse file path

I'm stucked to get correct pass to the local file. I have following directories: Resources -> data -> file.json js -> folder -> script.js html -> ...
0
votes
0answers
9 views

Creating a Static Menu with Javascipt and iFrames

I am creating a basic website that is hosted on dropbox for a work project, so don't have access to SSI or PHP obviously. What I am trying to do is use JavaScript to parse a link then send it to an ...
-2
votes
3answers
42 views

String to DateTime Convertion of 2013-05-04 13:12:20.123Z [closed]

I need to output this string value (2013-05-04 13:12:20.123Z) to a valid Datetime on this format (dd/MM/yyyy HH:mm:ss). I tried Convert.ToDateTime, DateTime.ParseExact, DateTime.Parse but its change ...

1 2 3 4 5 1183
15 30 50 per page