Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Date extraction from txt or string data

sachin1987
6 - Meteoroid

Hi All,

 

I am trying to extract data from the below input. I tried using some Regex, but was unable to achieve the desired results.

 

 

InputOutput
 Formed DateCommenced DateGeneral Partner
was formed as a Cayman Islands exempted limited partnership on June 12, 2014 and commenced operations on September 1, 2014. ABCD was wholly owned and capitalized by12-Jun-141-Sep-14 
ABCDs, L.L.C., a Delaware limited liability company and registered as a foreign company in the Cayman Islands (the "General Partner"), serves as the general partner of the Partnership.  ABCDs, L.L.C.

 

Can someone help how to get the data as put in Output section.

 

Thanks in advance!

1 REPLY 1
AkimasaKajitani
17 - Castor
17 - Castor

Hi @sachin1987 ,

 

I don't know all the rules in this text. However, I make the Regex expression that work only with this input text.

 

AkimasaKajitani_0-1645253220418.png

 

on\s(\w+\s\d+,\s\d{4})

 

AkimasaKajitani_1-1645253239079.png

 

(^\w+,.*?),

 

If I would know more other rules, my expression will be changed.

Labels
Top Solution Authors