Hi Gregory,
Yeah, I like RegExp. Thank you again. I have a copy of MSDN, so I do not need to search the Web (it's tricky to find anyway)
Agnes
>hi Agnes,
>
>I think that your solution is by far the most elegant
>
>ps: the doc is here
http://msdn.microsoft.com/library/default.asp?URL=/library/en-us/dnclinic/html/scripting051099.asp>(you search ms for
beefs and it is one at the top )
>
>
>>James,
>>
>>normaly there is nothing more than those line. Naturally you will not instantiate Regexp in a function over and over.
>>
>>The scripting must be installed and not restricted. There is an other way via JScript that you can go.
>>
>>You can use in REPLACE. And the code also remove TAB characters. (One never know how entered the code.)
>>
>>I've startet with RegExp blind by some code (message#
792332) an have later demystified it. ::) It's worth it.
>>
>>Agnes
>>>Of course, yes that's a typo. (tyop?) It should have been removed there as well.
>>>
>>>I have not yet had a chance to look at your solution; I've got something to learn about regular expression before I can understand. Can I assume that the CREATEOBJECT line will always work, or must I include something when I install my application to make it work?
>>>
>>>Jim
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]