![]() |
#2
|
|||
|
|||
![]()
To hopefully better explain the problem, I use a regular expression to do a search for all matches in the document's text. When I go through all of the matches, if there's a field preceding the match, the FirstIndex value doesn't match the position of the found text in the document's range.
e.g. if the first found match is at 168 in the text, if there's a field before position 168, then the match might be at position 228 in the document. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
loes | Word | 3 | 09-04-2019 07:52 AM |
Word Regular Expressions: zero or more occurences? | tinfanide | Word | 6 | 09-16-2015 03:13 PM |
![]() |
tinfanide | Word VBA | 3 | 02-02-2013 10:07 PM |
regular expressions for empty lines | eNGiNe | Word | 1 | 01-21-2013 06:38 AM |
![]() |
tinfanide | Excel Programming | 4 | 05-30-2012 04:09 AM |