Top "Text-parsing" questions

Text parsing is a variation of parsing which refers to the action of breaking a stream of text into different components, and capturing the relationship between those components.

How to delete from a text file, all lines that contain a specific string?

How would I use sed to delete all lines in a text file that contain a specific string?

shell sed text-parsing in-place
PHP - parsing a txt file

I have a .txt file that has the following details: ID^NAME^DESCRIPTION^IMAGES 123^test^Some text goes here^image_1.…

php text-parsing
Split string containing command-line parameters into string[] in C#

I have a single string that contains the command-line parameters to be passed to another executable and I need to …

c# command-line text-parsing
Difference between parsing a text file in r and rb mode

What makes parsing a text file in 'r' mode more convenient than parsing it in 'rb' mode? Especially when the …

python file-io text-parsing
How to get the first column of every line from a CSV file?

How do get the first column of every line in an input CSV file and output to a new file? …

bash shell csv awk text-parsing
How to parse a string and create several columns from it?

I have a varchar(max) field containing Name Value pairs, in every line I have Name UnderScore Value. I need …

sql-server sql-server-2008 text-parsing
Best way to get all digits from a string

Is there any better way to get take a string such as "(123) 455-2344" and get "1234552344" from it than doing this: …

c# regex text-parsing
What is CoNLL data format?

I am new to text mining. I am using a open source jar (Mate Parser) which gives me output in …

nlp text-parsing text-mining information-extraction
Python parsing bracketed blocks

What would be the best way in Python to parse out chunks of text contained in matching brackets? "{ { a } { b } { { { …

python parsing text-parsing brackets
How should I detect which delimiter is used in a text file?

I need to be able to parse both CSV and TSV files. I can't rely on the users to know …

c# asp.net csv text-parsing