N
N
Nikita2019-07-12 16:07:22
Regular Expressions
Nikita, 2019-07-12 16:07:22

How to find and replace regular expressions in Notepad++?

Yes:
Source string -
abcd_12345 : abc take what is after "_" and substitute before " abc " I understand that in the same notepad++ I need to Find: ^[A-z0-9]*[_][A-z0-9].*$ Replace: with what? The text before and after "_" will be different, just like after ":". But the point remains to take the value after the "_" and substitute it after the ":".



Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2019-07-12
@WoT_Seller

^([A-z0-9]*)_([A-z0-9]*)(@.*)?:(.*)$replaced by\1_\2\3:\2\4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question