Replace . (period) with \n (new line)
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Replace . (period) with \n (new line)
How do I replace the '.' (period) character with the regular expression \n (new line)?
Last edited by AmigoJack on Tue Oct 10, 2023 8:37 am, edited 1 time in total.
Reason: more detailled subject; adding question mark
Reason: more detailled subject; adding question mark
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Re: Replace
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
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
Thanks BenJosephs
BTW: Why wasn't a notification that you replied to my question e-mailed to me?
BTW: Why wasn't a notification that you replied to my question e-mailed to me?
Re: Replace . (period) with \n (new line)
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)
Have you found the culprit? A reply may help future readers (and us), too.