python regex get date format

linkaiyi
Follow

Adding to the above [0-9]{2,4}/[0-9]{2}/[0-9]{2,4} will match ‘2017/02/23’ and ‘23/02/2017’ both. Similarly, [0-9]{2,4}-[0-9]{2}-[0-9]{2,4} will match 2017-02-23 and 23-02-2017

Object has 0 attachments

Was this article helpful?

This article is viewed 57 times!

Recent Viewed Articles

0 Comments

Leave a Comment

Support