S
S
snake_jan2018-08-16 21:38:19
Sublime Text
snake_jan, 2018-08-16 21:38:19

How to make multiple replacements in a file?

The task is this:
There are many different php files. In each of them, it is necessary to replace certain things that I can highlight with regular expressions. But not one but different.
How to automate the process, being able to apply a set of regular expressions and replacements to one php file?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2018-08-16
@xmoonlight

I have been using for a long time:
1. www.powergrep.com
2. https://tools.stefankueng.com/grepWin.html
I think you won't find it better.

D
Denis, 2018-08-17
@notwrite

sed -i is our everything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question