One simple way in BBEdit is to do a Find using a regular expression that can natch any of the 4 names, then click the Extract button which will produce a document with each occurrence on a line, then sort lines, and then if the document is displaying line numbers its easy to see how many occurrences of each of the 4 there are using the first and last line numbers per each. -- Darren Duncan

On 2020-10-06 11:23 a.m., 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:57From Harvey Haney : Good morning. How is everyone today?
10:46:08From Apple Jones : I'm doing good. How are you?
10:46:12From Banana Herb : Good how are you!
10:46:18From Sam Blue : I'm doing fine. How are you?
10:45:57From Harvey Haney : Good morning. How is everyone today?
10:46:08From Harvey Haney : I'm doing good. How are you?
10:46:12From Apple Jones : Good how are you!
10:46:18From Sam Blue : I'm doing fine. How are you?
10:45:57From Harvey Haney : Good morning.

--
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/77cb7917-5984-b5c9-10f3-81bf6172aa46%40darrenduncan.net.

Reply via email to