Hi, Will .NET Regular Exp patterns work in VB6? ex: reg exp pattern
for email in .net \w+([-+.']\w+)*@\w+([-.]\w+)*\=AD.\w+([-.]\w+)* Will
this work if i use it in vb6? Anybody has idea about it. Please
comment on this. Thanks, Thiru.S

RE: NET Regular Exp patterns work in VB6? by PRSoCo

PRSoCo
Tue Mar 18 10:24:02 CDT 2008

Not without work.

You could use JScript regular expressions:
http://www.regular-expressions.info/vb.html


Otherwise, you would to wrap the Regex class from .NET in a COM object that
could be used from VB6.

--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#


"Thiru.net" wrote:

> Hi, Will .NET Regular Exp patterns work in VB6? ex: reg exp pattern
> for email in .net \w+([-+.']\w+)*@\w+([-.]\w+)*\­.\w+([-.]\w+)* Will
> this work if i use it in vb6? Anybody has idea about it. Please
> comment on this. Thanks, Thiru.S
>