Use the "Extract" button in the Find dialog box. Make sure this is no Replace 
pattern specified and it will put the entire found pattern into a new document.

[fletcher]


> On Feb 27, 2020, at 5:31 AM, Mohannad Mahmoud <mahmoudmohan...@gmail.com> 
> wrote:
> 
> Hello to all,
> 
> I am trying to copy a search pattern to a new document. I am not sure this 
> can be done in Canonize or Processing Lines Containing 
> 
> The file I am doing a search in has the following;
> 
> 3/004
> 03:00:19:18 0041+10
> 03:00:23:10 0047+02
> 03:16 5+08
> Mrs Nora? Forgive me.
> (Intenral)
> Thomas: Well...
> ENTERS DOOR
> DIANA (OS): Forgive
> 5 03:00:21:14 0044+06
> CUT TO MS - PM DIANA L
> DIANA: my interruption. Sir Eric Gairy, the Prime Minister of Grenada.
> 
> I need to only copy the first 5 lines;
> 3/004
> 03:00:19:18 0041+10
> 03:00:23:10 0047+02
> 03:16 5+08
> Mrs Nora? Forgive me.
> 
> The search patter I am using is;
> (3/[0-9]*\r[0-9]{2}:[0-9]{2}:[0-9]{2}:[0-9]{2}\s[0-9]{4}\+[0-9]{2}\r[0-9]{2}:[0-9]{2}:[0-9]{2}:[0-9]{2}\s[0-9]{4}\+[0-9]{2}\r[0-9]{2}:[0-9][0-9]\s[0-9]\+[0-9]{2}\r^.*$)
> 
> Which is working fine in the classic search and replace function but not in 
> canonize and process line containing
> 
> I do not have a coding background, I would appreciate your help guys 
> Many thanks
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> <https://twitter.com/bbedit <https://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 bbedit+unsubscr...@googlegroups.com 
> <mailto:bbedit+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/cab8fc9c-305f-4f25-b512-1f1dba19a420%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/bbedit/cab8fc9c-305f-4f25-b512-1f1dba19a420%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/681FCA45-4D60-47E6-898C-8CB71F193276%40cumuli.com.

Reply via email to