S
S
Stas_denisov2019-05-03 12:03:03
Regular Expressions
Stas_denisov, 2019-05-03 12:03:03

How to make notepad++ regula?

Help me write a regular expression to wrap numbers at the end of a string with a star in front of it.
Source: 02-03-17 text
Output: text*02-03-17

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Slagmaur, 2019-07-13
@Slagmaur

^([0-9-]+)\s(.*)$
Replace with
\2*\1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question