How do I capitalize the first letter of a word that follows a parenthesis in EmEditor?

Asked 2 years ago, Updated 2 years ago, 88 views

Select a statement similar to the following

norwegian wood (this bird has flow)

"Edit → Convert selection → Convert the first letter of a word to uppercase"

Norwegian Wood (this Bird Has Flow)

and this after parentheses does not start with capital letters.

Currently, we have no choice but to replace it with spaces after parentheses, and
after performing "conversion to uppercase" I got the desired result by removing the space by replacing it again. It's not very smart, so there are some good ways and settings, for example

if there is an option like
Consider parentheses as the beginning of a word Please let me know.

Thank you for your cooperation.

emeditor

2022-09-29 21:54

1 Answers

Ctrl+HDisplays the Replace dialog, checks Regular Expression, and

\b\w

\U\0

[replaced string]

Type and click the Replace All button.Then, the sample above is

Norwegian Wood (This Bird Has Flow)

translates to .


2022-09-29 21:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.