I need to remove text between the character ? and linebreak; and if it's possisble for the question mark, to be removed as well.
Asked
Active
Viewed 179 times
-1
Shakiba Moshiri
- 21,040
- 2
- 34
- 44
Leebo9
- 1
- 1
-
try: `\?[^\r\n]+$` – Shakiba Moshiri Sep 22 '17 at 03:32
1 Answers
0
You shold achieve this with a simple (.*\?).+$, replacing this for $1. The dollar matches the end of line when using the multi line matching.
Live demo
Gabriel Chiquini
- 106
- 5