I need to transform text using regex
TPI +2573<br>
NM$ +719<br>
Молоко +801<br>
Прод. жизнь +6.5<br>
Оплод-сть +3.6<br>
Л. отела 6.3/3.9<br>
Вымя +1.48<br>
Ноги +1.61<br>
to this one
<strong>TPI</strong> +2573<br>
<strong>NM$</strong> +719<br>
<strong>Молоко</strong> +801<br>
<strong>Прод. жизнь</strong> +6.5<br>
<strong>Оплод-сть</strong> +3.6<br>
<strong>Л. отела</strong> 6.3/3.9<br>
<strong>Вымя</strong> +1.48<br>
<strong>Ноги</strong> +1.61<br>
Is it possible with regex in PhpStorm's search and replace dialog?
)` to this `$1$2$3$4` – Amanzhol Medetov May 12 '19 at 06:37
)` as all you're doing is replace by `$2$3$4` hence no need to group them separately. And if you really want to continue using the regex you're using, then use this improved form of same regex where I've made it a bit better. [Improved regex](https://regex101.com/r/EGELxA/2/) – Pushpesh Kumar Rajwanshi May 12 '19 at 07:59