First character of each line upper case

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Fiorellino
Posts: 2
Joined: Tue Feb 12, 2008 2:28 am

First character of each line upper case

Post by Fiorellino »

Hi together!

Could anybody tell me how to make TextPad to change the first character of every line in upper case?

Best,
Fiorellino
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

You can do a replace operation with these parameters:

Find what: ^\(.\)
Replace with: \u\1

Make sure "Regular expression" is ticked in the Replace dialog.

If you are using POSIX regular expression syntax, change the find string to: ^(.)

Andrew
ACRobin
Posts: 134
Joined: Fri Nov 04, 2005 9:51 pm
Location: Northumberland,UK
Contact:

Post by ACRobin »

Another method without regular expressions:

Highlight the text (Edit + Select All).
Right click or use Edit menu.

"Change Case" and select tye option you want - "Capitalise" or "Sentence Case"
Fiorellino
Posts: 2
Joined: Tue Feb 12, 2008 2:28 am

Post by Fiorellino »

Many thanks!!!
Post Reply