473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

regular expression used to conver to upper case

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
Dec 19 '06 #1
2 1923
Franky,

Why don't you try it?

Cor

" Franky" <fr***********@a-znet.comschreef in bericht
news:%2****************@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

Dec 19 '06 #2
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.

"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:O$**************@TK2MSFTNGP06.phx.gbl...
Franky,

Why don't you try it?

Cor

" Franky" <fr***********@a-znet.comschreef in bericht
news:%2****************@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


Dec 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kenneth McDonald | last post by:
I'm working on the 0.8 release of my 'rex' module, and would appreciate feedback, suggestions, and criticism as I work towards finalizing the API and feature sets. rex is a module intended to make...
2
by: Joe | last post by:
Hi, I have been using a regular expression that I don’t uite understand to filter the valid email address. My regular expression is as follows: <asp:RegularExpressionValidator...
3
by: Danny | last post by:
I am trying to do a regular expression to search for a url so anything that has http:\\www.hellothere.com but may not have the http:\\ and may not have the www and may not have http:\\www and...
8
by: Rajeev Soni | last post by:
Hi I am looking for the regular expression for validating the allowed file types to upload like files like "zip,pdf,doc,rtf,gif,jpg,png,txt"; and the expression should not be case sensitive like...
6
by: vvenk | last post by:
Hello: I am trying to learn about regular expressions. How would I use regular expressions to ensure that the password an user enters conforms to the following rules: 1. It has to be...
25
by: Mike | last post by:
I have a regular expression (^(.+)(?=\s*).*\1 ) that results in matches. I would like to get what the actual regular expression is. In other words, when I apply ^(.+)(?=\s*).*\1 to " HEART...
4
by: Chris | last post by:
I want to ensure a password has a least one lower case letter, one upper letter and a number. I'm a bit of a newbie but I understand you can use the pipe system for OR what about AND.I would like...
3
jlm699
by: jlm699 | last post by:
I have an application that is build on wxPython and have run into a small but annoying problem. I use a Search Control in my toolbar just as in the ToolBar example. Now when the user enters say...
18
by: Lit | last post by:
Hi, I am looking for a Regular expression for a password for my RegExp ValidationControl Requirements are, At least 8 characters long. At least one digit At least one upper case character
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.