Top "Text-manipulation" questions

Text/String manipulation is the term used to describe various operations applied to strings and/or text.

How to split strings on carriage return with C#?

I have an ASP.NET page with a multiline textbox called txbUserName. Then I paste into the textbox 3 names and …

c# text-manipulation
Java regex: newline + white space

should be simple, but I'm going crazy with it. Given a text like: line number 1 line number 2 line number 2A …

java regex text-manipulation
How to extract two consecutive digits from a text field in MySQL?

I have a MySQL database and I have a query as: SELECT `id`, `originaltext` FROM `source` WHERE `originaltext` regexp '[0…

mysql regex text-manipulation
Insert multiple lines of text before specific line using Bash

I am trying to insert a few lines of text before a specific line, but keep getting sed errors when …

bash unix sed text-manipulation
excluding first and last lines from sed /START/,/END/

Consider the input: =sec1= some-line some-other-line foo bar=baz =sec2= c=baz If I wish to process only =sec1= I …

unix scripting sed text-manipulation
Edit configuration file through python

I need to edit a configuration file through python and i tried searching on stackoverflow and google and they don't …

python file-io python-3.x configuration-files text-manipulation
Reversing Text to Columns in Excel/Calc

Most spreadsheet software I've used has a text-to-columns function that splits a single column into multiple columns using several criteria (…

excel string vba libreoffice-calc text-manipulation
How to find words from one file in another file?

In one text file, I have 150 words. I have another text file, which has about 100,000 lines. How can I check …

linux shell awk grep text-manipulation
How to get Git log with short stat in one line?

Following command outputs following lines of text on console git log --pretty=format:"%h;%ai;%s" --shortstat ed6e0ab;2014…

git shell text-processing git-log text-manipulation
Convert numbers to words with VBA

I have a column of numbers. In the next column, I want the text/word conversion of the numbers. Example: 123.561 …

vba excel numbers text-manipulation