Converting capital letters to small letters
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 2
- Joined: Mon Mar 16, 2009 5:23 am
TextPipe (whcih is where EasyPatterns come from) actually has a predefined filter to case names correctly, handling Mac/Mc and d' and O' and Van/De etc. It's about 15 regex terms. It's called etext/fix name capitalization.fll
Regards,
Simon Carter, DataMystic Melbourne, Australia
http://www.DataMystic.com +61.3.9913.0595 (GMT+10 hours)
TextPipe: Text Conversion, Reformatting and Extraction Workbench
PCMAG - "The ultimate text conversion and manipulation tool"
Simon Carter, DataMystic Melbourne, Australia
http://www.DataMystic.com +61.3.9913.0595 (GMT+10 hours)
TextPipe: Text Conversion, Reformatting and Extraction Workbench
PCMAG - "The ultimate text conversion and manipulation tool"
-
- Pro Scripter
- Posts: 70
- Joined: Sun May 03, 2009 11:49 pm
- Location: AU
hey guys, sorry for the delayed response, i have been out with the swine flue, of all things.
Thanks so much for all the suggestions and codes, I guess what marcus has written actually does exactly what we need. We can make exceptions for al-Malki and the rest
Thank you so much for your code marcus, the one that worked for me was
Thanks so much for all the suggestions and codes, I guess what marcus has written actually does exactly what we need. We can make exceptions for al-Malki and the rest
Thank you so much for your code marcus, the one that worked for me was
Cheers and a great big THUMBS UP!!!Let>name=JOHN SMITH
RegEx>(?new_name=
Let>pos=0
Repeat>pos
Let>pos=pos+1
Let>ch={Copy(%temp_name%,%pos%,1)}
If>ch=x
Let>ch={Copy(Lower(%name%),%pos%,1)}
Endif
Let>new_name=%new_name%%ch%
Until>pos={Length(%temp_name%)}
MessageModal>new_name