I am using screen scraping to pull details from a parcel tracking website.
I have managed to write RegEx expressions for getting most of the information I need.
However, I am facing trouble getting 2 dates from the scraped text.
Even the RegEx builder on UiPath highlights the date. But when I run the robot, the CastIterator on the local variables shows nothing and then the assign activity throws the error.
The RegEx Pattern I have tested on various website that works is below:
The sample text is below:
hipment Addresses Attributes Tracking Events Attachments ParcelAttachments Sequence No. 00000091204771497904 Carrier Customs Agency Services Weight 2,22 Creation Date 2021-07-28 Carton No 00000091204771497904 Carrier Service Australia Volume 0,022 Ship Date 2021-07-28 Sender Reference
I will also need the Ship Date to be scraped from the text. It is also giving me the same problem.
I can’t understand why the RegEx builder recognizes the pattern but the robot throws the errors.