The attached document (with a VBA module) contains text, and the VBA code is my first attempt at detecting different "sub-sentences", phrases within a sentence which (phrases) can be parsed as a form of sentence.
My smart-quotes string found “rules”, which pleased me.
My parentheses string found (and estimating evidence). which pleased me even more
but
my string for square-brackets fails to locate [Footnote]
and I suspect that I need some escape character to tell the Find object that within the square brackets I am saying that I want to find square brackets.
Code: Select all
[“][0-9A-z ]{1,}[”]
[(][0-9A-z ]{1,}[)]
[[][0-9A-z ]{1,}[]]
As well I fail to locate (Book iv., ch. ii., § 4.) because right now I am specifying alpha, digit, and space within my search string, but not comma, period, or silcrow
Please and thank you, how do I specify (for the second search string) "every character except the left- and right-parenthesis"?
Thanks
Chris