Home All Groups Group Topic Archive Search About

regular expression used to conver to upper case

Author
19 Dec 2006 4:36 AM
Franky
This should be easy to find but I've been looking and looking at the doc and
can't find it. Maybe it can't be done.

In the IDE editors find/replace I want to use regular expression to change
the first letter after "Dim " to lower case.

e.g Dim Tmp to Dim tmp

can you show me the replace string.

I believe the Find string is: Dim {[a-z]}

correct?

and the replace string is someting like

Dim \1

which changes nothing so it needs someting after the \1 to cause the
conversion to upper case.


Thanks

Author
19 Dec 2006 5:19 AM
Cor Ligthert [MVP]
Franky,

Why don't you try it?

Cor

Show quoteHide quote
" Franky" <frankieNOSPAM@a-znet.com> schreef in bericht
news:%232fmPdyIHHA.2312@TK2MSFTNGP02.phx.gbl...
> This should be easy to find but I've been looking and looking at the doc
> and can't find it. Maybe it can't be done.
>
> In the IDE editors find/replace I want to use regular expression to change
> the first letter after "Dim " to lower case.
>
> e.g Dim Tmp to Dim tmp
>
> can you show me the replace string.
>
> I believe the Find string is: Dim {[a-z]}
>
> correct?
>
> and the replace string is someting like
>
> Dim \1
>
> which changes nothing so it needs someting after the \1 to cause the
> conversion to upper case.
>
>
> Thanks
>
Author
19 Dec 2006 7:21 PM
Franky
try what?

I have tried various things. Seems I saw < someplace means upper case in a
different OS but it didn't work for me.



Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:O$CX6zyIHHA.3872@TK2MSFTNGP06.phx.gbl...
> Franky,
>
> Why don't you try it?
>
> Cor
>
> " Franky" <frankieNOSPAM@a-znet.com> schreef in bericht
> news:%232fmPdyIHHA.2312@TK2MSFTNGP02.phx.gbl...
>> This should be easy to find but I've been looking and looking at the doc
>> and can't find it. Maybe it can't be done.
>>
>> In the IDE editors find/replace I want to use regular expression to
>> change the first letter after "Dim " to lower case.
>>
>> e.g Dim Tmp to Dim tmp
>>
>> can you show me the replace string.
>>
>> I believe the Find string is: Dim {[a-z]}
>>
>> correct?
>>
>> and the replace string is someting like
>>
>> Dim \1
>>
>> which changes nothing so it needs someting after the \1 to cause the
>> conversion to upper case.
>>
>>
>> Thanks
>>
>
>