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 170 times
-1
Shakiba Moshiri
- 13,741
- 2
- 20
- 35
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
- 96
- 5