# Regex.test alternate between true and false notwithstanding the value being always the same

**URL:** <https://discourse.nodered.org/t/regex-test-alternate-between-true-and-false-notwithstanding-the-value-being-always-the-same/94678>\
**Category:** General\
**Created:** [16 January 2025 15:02 UTC](https://discourse.nodered.org/t/regex-test-alternate-between-true-and-false-notwithstanding-the-value-being-always-the-same/94678 "2025-01-16T15:02:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 January 2025 15:04 UTC](https://discourse.nodered.org/t/regex-test-alternate-between-true-and-false-notwithstanding-the-value-being-always-the-same/94678/2 "2025-01-16T15:04:51Z")

</div>

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/regex-test-alternate-between-true-and-false-notwithstanding-the-value-being-always-the-same/94678)._
