The following regex doesn't work like it should (doesn't change the source text):
Regex101 check for the correct regex result.
Regex101 check for the correct regex result.
Try this "\\{1}n". Hope it'll help you.The following regex doesn't work like it should (doesn't change the source text):
View attachment 240
Regex101 check for the correct regex result.
Thanks, it works. But am I right thatTry this "\\{1}n". Hope it'll help you.
\\n
should also work? Why it's needed to state that the \
should occur only once before n
?Yes, I agree with you. I don't know why it is necessary to specify the number of occurrences in this particular case but I found it by intuition (and some luck!)...Thanks, it works. But am I right that\\n
should also work? Why it's needed to state that the\
should occur only once beforen
?