How can i extract date in arabic and replace

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

support1
Posts: 2
Joined: Sat Sep 24, 2005 11:01 pm

How can i extract date in arabic and replace

Postby support1 » Sat Feb 04, 2006 9:43 pm

Hi all,
i have MAC arabic text which has date strings like 05/11/1426 but when converted to UTF8 using the filter "MacArabic to UTF8" everything is converted, except i find the date string above is converted as 5111426, the "/" being stripped, how can i retain the above date string.Please Help

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

Postby DataMystic Support » Mon Feb 06, 2006 10:29 am

You could use the EasyPattern

Code: Select all

[ capture(day), capture(monthnumber), capture(4 digits) ]


Replace with

Code: Select all

$1/$2/$3
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


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

Who is online

Users browsing this forum: No registered users and 1 guest