Hi Craig,

Thanks for the solution. I plan to try it.

Howard

On Tuesday, 6 October 2020 at 3:06:28 pm UTC-4 Craig W Johnson wrote:

> There may be a better way, but what I would do is open up a search window, 
> enter your target name in the find field, enter “\1\r” in the replace 
> field, and then hit extract. Every instance hit will then be on its own 
> line, and, presuming you have line numbering enabled, you could just check 
> the end line for the count.
>
> You could also just have the replace field be “\r” — you’ll still get the 
> count — but that’s less reassuring.
>
> If you only want occurrences within the “From” field, include that text in 
> your find query.
>
> Craig Johnson
> c...@remexpublishing.com
>
> On 6 Oct 2020, at 11:23, Howard wrote:
>
> I have the following data (shown below). I want to count how many times 
> each of the four names appear (Harvey Haney, Apple Jones, Banana Herb, Sam 
> Blue). Can this be done in BBEdit? If not, I would appreciate suggestions 
> on how it can be done.
>
> 10:45:57 From Harvey Haney : Good morning. How is everyone today?
> 10:46:08 From Apple Jones : I'm doing good. How are you?
> 10:46:12 From Banana Herb : Good how are you!
> 10:46:18 From Sam Blue : I'm doing fine. How are you?
> 10:45:57 From Harvey Haney : Good morning. How is everyone today?
> 10:46:08 From Harvey Haney : I'm doing good. How are you?
> 10:46:12 From Apple Jones : Good how are you!
> 10:46:18 From Sam Blue : I'm doing fine. How are you?
> 10:45:57 From Harvey Haney : Good morning.
>
> -- 
>
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "sup...@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+un...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/379b202c-463e-4d7c-8a26-af63ab83d0aan%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/bbedit/379b202c-463e-4d7c-8a26-af63ab83d0aan%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/6234577f-c436-4ea3-ba7c-85c3f0a96847n%40googlegroups.com.

Reply via email to