# \#regex

**URL:** https://community.postman.com/tag/regex/468.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [Serving schema with regular expression as static files](https://community.postman.com/t/serving-schema-with-regular-expression-as-static-files/19590)

<div class="topic-metadata">

**Author:** [@allen.vargas](https://community.postman.com/u/allen.vargas)\
**Replies:** 2\
**Last updated:** [January 28, 2021, 10:34am UTC](https://community.postman.com/t/serving-schema-with-regular-expression-as-static-files/19590 "2021-01-28T10:34:30Z")

</div>

Hi, I have a local file called schema.json which contains all the schema of our endpoints. I am running a local http-server to serve this file. Postman will send a request to this server (through pre-request tab) and th…

---

## [How to validate a response field having a regex pattern](https://community.postman.com/t/how-to-validate-a-response-field-having-a-regex-pattern/47093)

<div class="topic-metadata">

**Author:** [@aerospace-operator15](https://community.postman.com/u/aerospace-operator15)\
**Replies:** 3\
**Last updated:** [May 5, 2023, 2:07pm UTC](https://community.postman.com/t/how-to-validate-a-response-field-having-a-regex-pattern/47093 "2023-05-05T14:07:10Z")

</div>

Hello there, How can i validate a response field having a regex pattern? Thank you!!

---

## [Dynamic Substitution in Postman](https://community.postman.com/t/dynamic-substitution-in-postman/39817)

<div class="topic-metadata">

**Author:** [@kamal2222ahmed](https://community.postman.com/u/kamal2222ahmed)\
**Replies:** 1\
**Last updated:** [October 6, 2022, 9:24am UTC](https://community.postman.com/t/dynamic-substitution-in-postman/39817 "2022-10-06T09:24:16Z")

</div>

Hi, I am new to postman, and trying to do Dynamic Substitution ( like in JMeter ) with postman e.g. name of variable: form\_build\_id regular Expression: “form\_build\_id” value=“(.\*)” and would like to use the form\_bui…

---

## [RegEx to assert HTML in a response body](https://community.postman.com/t/regex-to-assert-html-in-a-response-body/33969)

<div class="topic-metadata">

**Author:** [@w4dd325](https://community.postman.com/u/w4dd325)\
**Replies:** 6\
**Last updated:** [March 29, 2022, 9:06pm UTC](https://community.postman.com/t/regex-to-assert-html-in-a-response-body/33969 "2022-03-29T21:06:40Z")

</div>

I have this line return within HTML in a response body; \<script type="text/javascript" src="/main.fed3fbbceb96763d430c.chunk.js"\>\</script\> The string is a hash of letters and numbers and I’m trying to assert that the v…

---

## [Mock server and regular expression](https://community.postman.com/t/mock-server-and-regular-expression/11245)

<div class="topic-metadata">

**Author:** [@peri.gold81](https://community.postman.com/u/peri.gold81)\
**Replies:** 15\
**Last updated:** [September 25, 2021, 12:14am UTC](https://community.postman.com/t/mock-server-and-regular-expression/11245 "2021-09-25T00:14:28Z")

</div>

Can we use in example request regular expression? currently, i have: { "timestamp": 123456, "customerid": 1212, "Token": "sdcgsdfhgdfsjnhasdfgvweDSTG245TRWEFG" } can I code something like that? { "ti…
