In PhpStorm how to use regular expression group to replace in the "Find and replace" (Ctrl+H)?

0 like 0 dislike
75 views
Hello! I want to use the group for replacement. But instead she put her figure. Why? Make a screenshot.
5bf02be91ca69890457993.png
In the end
preg_match_all();
Is replaced by
preg_2_not_all();
A must
preg_match_not_all();

But in Notepad++ everything works as it should. How do I use this functionality for PhpStorm?

Here's the regular season, which scans for:
(preg_)(.*)(_all)
Here's the regular season to replace:
preg_\\2_not_all
asked by | 75 views

1 Answer

0 like 0 dislike
Try $2 instead of \\2
answered by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
0 answers
0 like 0 dislike
1 answer
24,509 questions
45,931 answers
0 comments
257 users