Jump to content

How do you get a search to ignore capitals?


circuitrider

Recommended Posts

After entering a search argument [count 2], Accordance gave me Night as one of the results. There are only two occurrences of the exact english form of Night (capitalized) in the KJV. How do I get the search to ignore capital letters?

 

Thanks!

Link to comment
Share on other sites

Sorry, there is no way to do this easily. I would simply ignore those results. You cannot tell the Count command (nor the Analysis tab) to ignore the case.

 

You can use this wildcard expression to remove all capitalized words from the count:

[COUNT 2] @=?(-A-Z)*

but this also removes all the capitalized names which may not be what you want.

 

For those who wonder what that string of symbols means, it is deconstructed like this:

@ joins the following expression to the previous one (the COUNT command) so that both apply to the same word

= makes the following expression case sensitive

? stands for a single character

() enclose what modifies the ?

- excludes the following characters fom the wild card

A-Z is a range which specifies all the upper case letters

* is a global wildcard which allows any number of any characters to follow the first wild card

So the search looks for all words with a count of 2 in the current range specified in the pop-up except for words whose first letter is uppercase. You would get a similar result by specifying the lower case letters:

[COUNT 2] @=?(a-z)*

but in some texts that use numerals this would eliminate those numbers.

Link to comment
Share on other sites

That will work. I'll bet you were(are) very good at math?

 

Thank you for the quick reply. You folks are great!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...