Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VBRegExp query
Message
From
18/01/2001 20:22:51
 
 
To
18/01/2001 14:43:06
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00465188
Message ID:
00465508
Views:
14
>Thanks for the reply Ed
>
>Unfortunately, I got a COM error with that pattern. It doesn't seem to like the (*) in the middle. I can change the pattern to '\**\*' and it will naturally find all occurences but then the replacement string '< I >$1< /I >' goes around each word e.g. '< I >$1< /I >'MyWord'< I >$1< /I >'.
>

Try the pattern:

'\*([^\*]+)\*'

>I may have to look at another way of doing this. It just seemed like the RegExp object was suited for it.
>
>Cheers
>AJ
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform