adding a regular expression dictionary entry


Giles Turnbull
 

can anybody tell me waht regular expression could be used to stop page numbers in a table of contents from being preceded by a variable number of dots?

For example, I'm reading a book  reader manual and it has this:
UNPACKING THE PLAYER .................................................................................................... 8

which makes me feel like I'm being repeatedly shot by a semi automatic pistol! (I have a period specified in my dictionary to be spoken as “dot”)

I don't have much knowledge about regular expressions so don't know how or whether this can be done, so would welcome any suggestions or solutions! :)

Thanks,

Giles

Join nvda@nvda.groups.io to automatically receive all group messages.