Test Data Manager

  • 1.  Dutch regex script for  searching Dutch passport number(Netherlands)

    Posted Apr 10, 2018 11:31 AM

    Hi CA,

    We are unable to create regex script for dutch passport number.

    Could you please help us in creating same so that using Test Data manger portal. it can be searched.

     

    Thanks

    Rajeev Kumar 



  • 2.  Re: Dutch regex script for  searching Dutch passport number(Netherlands)

    Broadcom Employee
    Posted Apr 10, 2018 12:01 PM

    Can you please provide details on the format of the dutch passport number?



  • 3.  Re: Dutch regex script for  searching Dutch passport number(Netherlands)

    Posted Apr 11, 2018 01:38 AM

    Composition of number: positions 1 and 2: letters; positions 3-8: letters or digits; position 9: digit. The letter 'O' is not used in the document numbers. The digit '0' (zero) may be used.



  • 4.  Re: Dutch regex script for  searching Dutch passport number(Netherlands)
    Best Answer

    Broadcom Employee
    Posted Apr 12, 2018 04:45 PM

    I just took a quick stab at it and have the below regex but you may need to enhance it as needed.

     

    [A-Z]{2}[A-Z0-9]{6}[0-9]{1}



  • 5.  Re: Dutch regex script for  searching Dutch passport number(Netherlands)

    Posted Apr 24, 2018 04:57 AM

    Thanks Anil!!