Community

Extracting Arabic (Hijri) Date.

Hi, 

I'm working on Arabic FlexiLayout project, and I want to extract a date where it will be always in the following format:

Example:

١٤٤٢/١٢/٢٣ 

I want the regular expression that helps in extracting the correct date for the above one.

Was this article helpful?

0 out of 0 found this helpful

Comments

8 comments

  • Avatar
    Rahul Kapoor

    Hello Frank,

    This was not a query from my side. As a contributor to the Abbyy community, I replied to SA's query with the resolution I had.
    The resolution you added was to convert the Hijri date to Gregorian date while SA's query was just to capture the Hijri date in FlexiLayout studio using regular expression in Character String element.

    Regards,
    Rahul Kapoor

    1
  • Avatar
    Frank Delgado
    0
  • Avatar
    SA.

    Please provide the correct link.

    0
  • Avatar
    Frank Delgado

    Hi SA,

    I corrected the link.

    0
  • Avatar
    Rahul Kapoor

    I used the below Regular Expression to extract Hijri date:

    [١٢٣٤٥٦٧٨٩٠‎]{4}"/"[١٢٣٤٥٦٧٨٩٠‎]{2}"/"[١٢٣٤٥٦٧٨٩٠‎]{2}

     

    Regards,
    Rahul Kapoor

    0
  • Avatar
    Frank Delgado

    Hello Rahul,

    The best way to check this out is with some real samples and the FlexiCapture/FlexiLayout Studio projects.
    In order to proceed further, I have created a ticket for our support team.

    We will be in touch via mail on the ticket.

    0
  • Avatar
    Frank Delgado

    Hi Rahul,

    Thanks for the clarification, and apologies for the misunderstanding.
    I have the ticket created on your behalf.

    SA. Kindly check out the regex provided by Rahul Kapoor .
    If any assistance is needed from our support side, please don't hesitate to create a ticket 

    0
  • Avatar
    SA.

    Hi Rahul, 

     

    Thanks! That is exactly what I need.

    0

Please sign in to leave a comment.