K
K
KurtsKhalia2018-07-23 20:35:54
Software and Internet Services
KurtsKhalia, 2018-07-23 20:35:54

Is there a program to work with the lines of a text file?

There is a large line-by-line list that needs to be processed, namely, in each line, remove everything up to the first semicolon, including the semicolon itself. What options are there to do this other than manually?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bkosun, 2018-07-23
@KurtsKhalia

Use any text editor with search and replace functionality and support for regular expressions.
Recommend a text editor for windows with support for Perl compatible regular expressions

D
Doc44, 2018-07-23
@Doc44

https://habr.com/company/ruvds/blog/327530/

$ echo "This is a test" | sed 's/test/another test/'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question