# Verify a date format from a post response

**URL:** <https://community.postman.com/t/verify-a-date-format-from-a-post-response/11046>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [February 27, 2020, 1:30am UTC](https://community.postman.com/t/verify-a-date-format-from-a-post-response/11046 "2020-02-27T01:30:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [February 27, 2020, 10:12am UTC](https://community.postman.com/t/verify-a-date-format-from-a-post-response/11046/4 "2020-02-27T10:12:34Z")

</div>

You would need to escape that character.

`/^\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}$/`

This is a great site for testing regular expressions:

> **[Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript](https://regex101.com/#javascript)**
>
> Regex101 allows you to create, debug, test and have your expressions explained for PHP, PCRE, Python, Golang and JavaScript. The website also features a community where you can share useful expressions.

---

_[View the full topic](https://community.postman.com/t/verify-a-date-format-from-a-post-response/11046)._
