Really Simple Question on Regular Expressions 
Author Message
 Really Simple Question on Regular Expressions

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!



Thu, 19 Feb 2004 04:37:17 GMT  
 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!



Thu, 19 Feb 2004 05:40:56 GMT  
 Really Simple Question on Regular Expressions
asked and answered in
microsoft.public.inetsdk.programming.scripting.vbscript


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!



Thu, 19 Feb 2004 05:37:14 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help, really simple question w/ Regular Expressions

2. Rather simple regular expression and Array question....

3. Rather simple regular expression question....

4. HELP - Really, really simple printer questions

5. Help needed with a simple Regular Expression

6. simple regular expression q

7. Help with simple Regular Expression

8. Help with "simple" regular expression

9. a simple regular expression syntax (not working!)

10. Regular Expression Question

11. regular expression question

12. Regular expressions questions

 

 
Powered by phpBB® Forum Software