0

I want to be able to search for a letter using Regex and then convert the case of the letter. I know I can refer to the letters and use this:

Search for ^[adw] and replace with \U0 for example but I can't do this searching for ^\w so the expression applies to any letter in the search.

I have read a reply from the author of the product that refers to this:

https://www.editpadpro.com/history.html#800

In here the relevant change is:

Regex: Replacement string conditionals in the form of (?1matched:unmatched) and (?{name}matched:unmatched)

But it's not clear to me what this means. How do I actually use this?

If I have these strings and want to change the case of all the first letters in each sentence how would I use this conditional syntax to achieve it?

an apple a day. dogs are great animals. what about a game of football?

The result I want is this:

An apple a day. Dogs are great animals. What about a game of football?

Paul
  • 3
  • 3

0 Answers0