On 06/01/2017, at 03:28, Tom <[email protected] <mailto:[email protected]>> wrote:
> If you really mean Carriage Return (CR) then I don’t think this can be forced
> with a regex in BBEdit.
Hey Tom,
Sure it can, although the method is not exactly obvious.
\x0D or \x{0D} or \x{000D}
Look on page 149 of the manual in Chapter 7: Searching.
Here's one more way to do the job using a positive lookahead assertion:
Find:
^(.+?)(?= *— *).+\s+
Replace:
\1\n
--
Best Regards,
Chris
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.