D
D
D-542018-08-02 15:44:53
Notepad++
D-54, 2018-08-02 15:44:53

Notepad++ Which regular expression will remove all text on a line after 4 words?

I would be very grateful if you tell me how to edit the regular expression, if I need to remove everything after 5.6, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2018-08-02
@Stalker_RED

^(?:\w+?\W){4}(.+)
https://regex101.com/r/0CGovL/1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question