G
G
Gogr2282020-06-06 10:00:15
phpstorm
Gogr228, 2020-06-06 10:00:15

What is the correct way to make a regular expression for phpstorm?

Good afternoon, please tell me how to correctly make a regular expression for phpstorm, namely for replacement.
You need to replace - $_POST["name"];
On - $this->query->get("name");
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2020-06-06
@dodo512

Find: \$_POST\[(".*?")\];
Replace:\$this->query->get($1);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question