text-parsing
regex help, find first 3 occurrences of a keyword and str_ireplace the content
Given a block of text, I need to parse 开发者_开发问答it for the existing of a keyword. Then on the first appearance of the keyword, I need to wrap bold tags around it (if it doesn\'t already have the[详细]
2023-01-22 05:51 分类:问答converting bibtex files to html with python (maybe pybtex?)
Hi I want to parse a bibtex publications file and sort for specific fields (e.g. year) and filter certain content, to then put it on a website. I came across pybtex, which works as far as reading and[详细]
2023-01-22 02:59 分类:问答How can I extract/parse tabular data from a text file in Perl?
I am looking for something like HTML::TableExtract, just not for HTML input, but for plain text input that contains \"tables\" formatted with indentation and spacing.[详细]
2023-01-20 12:41 分类:问答Most popular substrings
I\'m trying to parse a large number of short strings into some logical parts. It seems like an interesting problem that someone could\'ve already solved, but I cannot find any papers / solutions (or m[详细]
2023-01-19 20:21 分类:问答How do I remove a portion of my string? [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-01-17 16:20 分类:问答Is there any framework for parsing a SQL-like query into its component parts?
I\'m interested in writing a SQL-like query syntax for a CMS I work with.The idea would be that a CMS query could be written in a SQL-ish syntax, and I would convert that to execute through the CMS AP[详细]
2023-01-15 05:34 分类:问答Matching everything between two specific words using regular expressions
I\'m attempting to parse an Oracle trace file using regular expressions. My language of choice is C#, but I chose to use Ruby for this exercise to get some familiarity with it.[详细]
2023-01-13 23:17 分类:问答Display log file information on a Web page with ASP.NET MVC paging
I have logs stored in a txt file in the following format. ======8/4/2010 10:20:45 AM=========================================[详细]
2023-01-12 08:08 分类:问答Parsing text file using C#
Looking for a good way to parse out of this text file, the values highlighted with the yellow boxes using C#. Each section is delineated by a TERM # which I forgot to highlight. Tried this:[详细]
2023-01-10 21:54 分类:问答Extended Log File Format Parser in Ruby
I\'m looking for a ruby parser for the W3C Extended Log File Format. http://www.w3.org/TR/WD-logfile.html[详细]
2023-01-09 04:13 分类:问答