Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 765547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:54:13+00:00 2026-05-14T16:54:13+00:00

Is it possible to replace to upper case in Visual Studio using Find and

  • 0

Is it possible to replace to upper case in Visual Studio using “Find and Replace” dialog and RegEx (?) à la: . => Upper(.)?

Say I have:

m_<b>a</b>blabla

I want:

_<b>A</b>blabla
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T16:54:14+00:00Added an answer on May 14, 2026 at 4:54 pm

    You can solve this by using Visual Studio temporary macros. This is a very powerful, flexible feature which I use all the time for performing repetitive code manipulations.

    I’m assuming you’re using the C# default key bindings here.

    1. Press CTRL+SHIFT+F to bring up the find in files dialogue.
    2. Click use “Regular expressions”
    3. Set “Find what:” to “<m_:Ll” – words that begin with m, underscore, then a lower case letter;
    4. Click “Find all” to search for all occurrences;
    5. Press CTRL+SHIFT+R to start recording temporary macro;
    6. Press F8 to find next occurrence of search expression;
    7. Press right cursor, right cursor, SHIFT + right cursor (to skip “m_” and then select the lower case letter);
    8. Press CTRL+SHIFT+U to uppercase the lower case letter;
    9. Press CTRL+SHIFT+R to stop recording temporary macro;
    10. Press CTRL+SHIFT+P to replay temporary macro, which will jump to next expression and uppercase the first letter after the “m_”. You need to press CTRL+SHIFT+P as many times as there are expressions.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to replace the standard broken image via CSS or using another
Is it possible to replace all PNGs across the board with GIFs using jquery?
Is it possible to find and replace in selected text in Snow Leopard Xcode
Is it possible to do a regex replace on all IMG tags that are
Is it possible to replace a character before a yasnippet is expanded? Say that
I have a mathematica list in which I want to replace all 2s with
Is it possible to replace a url name like http://mysite.com/sub/ with http://sub.mysite.com using htaccess?
If have a following element in my XSL file: <xsl:value-of select=replace(lower-case(@name), '_([a-z0-9])', '$1') />
Possible Duplicate: Replace individual list elements in Haskell? I have managed to make some
Possible Duplicate: replace all “foo” between () Hello, I tried to use regex to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.