-
Jul 6th, 2005, 02:46 AM
#1
Thread Starter
Lively Member
regexp help for a tag
I'm having trouble formulating a regular expression in a search (in Word VBA) to look for either an opening tag or a closing tag. I can get it to work for one or other but not both.
I want it to be able to find the following tags in a document:
<field: 1>
<field: 2>
<field: 143>
<field: n>
</field: 1>
</field: 2>
</field: 143>
</field: n>
It's the 'zero or one occurence of /' that's got me stuck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|