hi,
How to find and replace LARGE CAPS with <lc>LARGE CAPS</lc> and SMALL CAPS TO <sc>SMALL CAPS</sc>
help me
Small Caps and Large Caps
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2229
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Use an EasyPattern search/replace,
[ capture( '<', optional( '/' ) ), 'lc>' ]
Replace with
$1sc>
Will you be purchasing the Web version or Pro?
[ capture( '<', optional( '/' ) ), 'lc>' ]
Replace with
$1sc>
Will you be purchasing the Web version or Pro?
Regards,
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
- DataMystic Support
- Site Admin
- Posts: 2229
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
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.
([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, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads