How to remove text after specific characters from each line?
-
-
?
is a special character and so needs to be “escaped” so the regex machine takes it literally (treats it as a simple character).Start your expression with
\?
instead. -
Hello, @Геннадий-Гайдукевич, @neil-shcipper and All,
In the Find What: field of your picture, we see that searched string :
?__cft-.*
So, from your shown text, I suppose that the correct regex syntax is :
SEARCH
\?__cft__.*
REPLACE
Leave EMPTY
Best Regards
guy038