Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
In PhpStorm how to use regular expression group to replace in the "Find and replace" (Ctrl+H)? - bug-code.com Q&A

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

0 like 0 dislike
161 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 | 161 views

1 Answer

0 like 0 dislike
Try $2 instead of \\2
answered by
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.8k users

24,788 questions
46,220 answers
0 comments
12,813 users