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: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
- DataMystic Support
- Site Admin
- Posts: 2227
- 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.