Parse two dates from a string (must be in Javascript)

I have strings like this:

[login to view URL]

[login to view URL]|12068-1905231335--31362-1-13558-1905231820

[login to view URL]*HAK.LHW.2019-05-23;c:USD;e:1;sd:1;t:f

[login to view URL]:2019-05-23/economy/1a:0c:0i?sort=price&order=asc

I need a JS function that extracts inbound (smaller date) and outbound (bigger date) and modifies the form values for inbound / outbound for me. The idea is to paste a string into the 'url' field and inbound/ outbound update automatically.

Parsing/ Update MUST be BEFORE form submit.

I'll provide the source for the form.

Skills: Javascript, jQuery / Prototype, PHP

See more: calculate number days dates using javascript, dates search dates using javascript, can find number days dates using javascript, javascript date range, javascript string to date, javascript compare dates, javascript epoch to date, javascript date.parse timezone, javascript convert date format, javascript date literal, javascript date, parse drivers license javascript, calculating number days dates using javascript, calculating dates using javascript, parse mysql database javascript, generate phone string javascript, find difference dates using javascript, parse xml file javascript array, parse post data javascript, days dates using javascript

About the Employer:
( 181 reviews ) Palo Alto, United States

Project ID: #19585582

Awarded to:


Hey We can do this definitely in 1 day and deliver you with quality . Waiting for your reply. Thanks

$25 USD in 1 day
(1 Review)

5 freelancers are bidding on average $24 for this job


Hi! I have experiences for 15+ years about IT programming. I have done your proposal quickly and then u will show good result. I want your detailed schedule. Thanks.

$30 USD in 1 day
(50 Reviews)

Hello, the url is going to be pasted in a textbox on a form, right? and you want to extract the inbound and outbound dates before submitting the form? is that right? Also is the date format going to be the same in all More

$30 USD in 1 day
(21 Reviews)
$25 USD in 1 day
(5 Reviews)

In my professional experience, I've been working as a Freelancer, a Young Researcher in the field of Image Processing and a Social Entrepreneur (still working the three of them separately), as a Computer Vision Algori More

$10 USD in 7 days
(0 Reviews)