R
R
ross_viktor2019-10-15 15:45:26
Notepad++
ross_viktor, 2019-10-15 15:45:26

How to find a space between tags in atom and replace with nothing?

hello, how to find a space between numbers in a tag in atom, for example , I
<p>123 456 789 0</p>
tried it by analogy with notepad ++ but it doesn’t work, in notepad it worked
<price>[^ <>]*\K\shere it only searches for the first gap but does not replace it
, and atom works
(\s)(\d+)if it is replaced by $ 2, but in this case everything is deleted spaces in the file between the numbers, if put like this <p>(\s)(\d+)</p>does not work, please tell me more options ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-10-15
@ross_viktor

\s(?=[\s\d]*<\/p>)
Or
Find: (<p>[^\s<>]*)\s
Replace:$1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question