
Really Simple Question on Regular Expressions
Asked and answered in the ...inetsdk.programming.scripting.vbscript newsgroup
<tip type="friendly">
MULTI-POSTing is posting separate copies of the same question to different newsgroups rather than
CROSS-POSTing one copy. CROSS-POSTing is just like addressing a mail message to more than one email
address. In the case of a newsgroup post, the "addressees" are the names of the newsgroups.
A CROSS-POSTed question is only one message. It can be read and replied to from any of the NGs to
which it was posted, saving everyone (including the original poster - that would be you ;-) a lot of
time and aggravation...
Since you are using Outlook Express, read the help topic "Viewing and Posting To Newsgroups",
especially the subtopic on posting.
Common netiquette dictates that you be selective when you CROSS-POST. Choose only 2 or perhaps 3
*relevant* newsgroups. CROSS-POSTing to too many newsgroups or to newsgroups that have nothing to do
with the question you are asking will likely get you flamed or ignored ;-)...
</tip>
--
Michael Harris
Microsoft.MVP.Scripting
--
Please do not email questions - post them to the newsgroup instead.
--
Quote:
> Hello Everyone,
> I'm fairly new to VBScript, and I'm just looking for a Regular Expression
> that would be generic enough to allow me to search for all three occurrences
> of the following three strings;
> <?xml:namespace prefix = st1 ns =
> "urn:schemas-microsoft-com:office:smarttags" />
> <?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" />
> <?xml:namespace prefix = st1 />
> The pattern here is that all three strings start with " <?xml:namespace
> prefix " and end with " /> "
> I've been looking the VBScript documentation for quite some time, but I
> haven't been able to find anything or maybe I just don't see it.
> Thanks guys!