String lowerBoldWord = "" + results + "" ĪrticleText = lr. String lowerPattern = "" + results + "" (See Figure 1.) Set up your wildcard search as you normally would to locate all the words. Click the More button, if it is available. I'm not sure if this is the most efficient, but I just ran replace with two patterns, one with a capital and one without: // use regex to match saved words andĪrticleText = ur.Replace(articleText, upperBoldWord) If youre working in Microsoft Word, its easy to change the capitalization or case of text in your document.Select your text, then click the Change Case button right beside your font options in Words toolbar (its button shows a capital and lowercase A, with an arrow connecting the two). You can, however, easily change the case of those letters by following these general steps: Press Ctrl+F to display the Find tab of the Find and Replace dialog box. I think the ignore case option was throwing me off.
0 Comments
Leave a Reply. |