Page 1 of 1
Replace . (period) with \n (new line)
Posted: Sun Oct 08, 2023 9:48 pm
by gcotterl
How do I replace the '.' (period) character with the regular expression \n (new line)?
Re: Replace
Posted: Mon Oct 09, 2023 5:00 pm
by ben_josephs
The replacement expression isn't a regular expression and the sequence "
\n" isn't (specifically) a regular expression
However, TextPad requires that you specify
Regular expression when using escape sequences such as "
\n", in either the search expression or the replacement expression. But the character "
." is a regular expression (matching any character other than newline). The regular expression matching a dot is an escaped dot: "
\.".
So what you need is
Find what: \.
Replace with: \n
[X] Regular expression
Re: Replace
Posted: Tue Oct 10, 2023 1:48 am
by gcotterl
Thanks BenJosephs
BTW: Why wasn't a notification that you replied to my question e-mailed to me?
Re: Replace . (period) with \n (new line)
Posted: Tue Oct 10, 2023 8:47 am
by AmigoJack
This can have many reasons:
- Are you subscribed to this topic at all?
- When creating the topic/post, have you ticked the checkbox "Notify me when a reply is posted" in the "Options" tab? If you don't want to tick this everytime you can set its default in UCP > Board preferences > Edit posting defaults.
- Check in UCP > Profile > Edit account settings if it contains the email address where you expect notifications (or if it is surprisingly a different address).
- Is your email box even reachable? Send yourself an email from a different address.
- Is your email box full? When you never delete emails, then it runs out of space, just like a hard drive. Then incoming emails are rejected. Send yourself an email from a different address - when full, usually a bounce returns, informing you about the rejection.
- What and when was the last email you got from this board?
Re: Replace . (period) with \n (new line)
Posted: Thu Oct 19, 2023 7:45 am
by AmigoJack
Have you found the culprit? A reply may help future readers (and us), too.
Re: Replace . (period) with \n (new line)
Posted: Fri Nov 17, 2023 3:52 pm
by gcotterl
Thank you