Home>Article>Development Tools> How to batch replace strings in phpstorm

How to batch replace strings in phpstorm

(*-*)浩
(*-*)浩 Original
2019-12-19 15:26:47 5218browse

How to batch replace strings in phpstorm

The materials that need to be prepared are: computer and phpstorm editor.(Recommended learning:phpstorm)

1. First, open the phpstorm editor, create a new php file, for example: index.php, and fill in the basic code of the problem.

How to batch replace strings in phpstorm

#2. In index.php, press the ctrl r key on the keyboard to bring up the replacement tool, for example, enter the original string abcd and the target string Hello, click the "Replace all" button.

How to batch replace strings in phpstorm

3. At this time, you will find that "abcd" in the string has been replaced with "hello" in batches.

How to batch replace strings in phpstorm

The above is the detailed content of How to batch replace strings in phpstorm. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn