Small Caps and Large Caps

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

redbulls
Posts: 5
Joined: Tue Sep 19, 2006 3:29 am

Small Caps and Large Caps

Postby redbulls » Mon Sep 25, 2006 2:52 am

hi,

How to find and replace LARGE CAPS with <lc>LARGE CAPS</lc> and SMALL CAPS TO <sc>SMALL CAPS</sc>

help me

User avatar
DataMystic Support
Site Admin
Posts: 2154
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Mon Sep 25, 2006 12:11 pm

Use an EasyPattern search/replace,

[ capture( '<', optional( '/' ) ), 'lc>' ]

Replace with

$1sc>

Will you be purchasing the Web version or Pro?
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

redbulls
Posts: 5
Joined: Tue Sep 19, 2006 3:29 am

Postby redbulls » Wed Sep 27, 2006 3:03 am

I am currently using trial verion. I will buy it ASAP. This is really a nice piece of software.

redbulls
Posts: 5
Joined: Tue Sep 19, 2006 3:29 am

Postby redbulls » Wed Sep 27, 2006 3:24 am

That did not work.

Have to find:
LARGE CAPS

Should not find:
<sc>LARGE CAPS</sc>


And replace it with:
<lc>LARGE CAPS<lc>





It is impossible to find SMALL CAPS and italics. right?

User avatar
DataMystic Support
Site Admin
Posts: 2154
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Wed Sep 27, 2006 11:19 am

Ah - I see. Try this perl pattern:

([A-Z]+?( [A-Z]+?)+?)

Replace with
<lc>$1</lc>

Ensure Match Case is ENABLED.

For Small Caps, use

([A-Z][a-z]*?)( [A-Z][a-z]*?)*?

Replace with

<lc>$1</lc>

You may have to add other restrictions if this is not the only text present. Drop us an email with sample data and we can help further.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

redbulls
Posts: 5
Joined: Tue Sep 19, 2006 3:29 am

Postby redbulls » Wed Sep 27, 2006 5:58 pm

Thanks.


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 1 guest