VBA and regular expression to search for ranges of text
- From: enda_ridge@xxxxxxxxxx
- Date: 27 Jun 2005 07:50:15 -0700
Hi,
I'd be very grateful for help with the following.
I have a text file open in Word. I need an example of how to use a
regular expression to search for ranges of text that begin with
'\begin{figure}' and end with '\end{figure}' inclusive.
\begin{figure}
Any text can go here etc etc etc
\end{figure}
Once this is found, I would like to convert it to a Word Range object
and then continue the regular expression search from the next point in
the document.
Thanks in advance,
Enda
.
- Follow-Ups:
- Re: VBA and regular expression to search for ranges of text
- From: Helmut Weber
- Re: VBA and regular expression to search for ranges of text
- Prev by Date: write some text to place where I want in word
- Next by Date: Re: What is the VBA for protecting a document
- Previous by thread: write some text to place where I want in word
- Next by thread: Re: VBA and regular expression to search for ranges of text
- Index(es):
Relevant Pages
|