# Switch Node: Pass on regexp matches with the msg

**URL:** <https://discourse.nodered.org/t/switch-node-pass-on-regexp-matches-with-the-msg/99936>\
**Category:** Feature Requests\
**Tags:** switch-node\
**Created:** [12 December 2025 17:13 UTC](https://discourse.nodered.org/t/switch-node-pass-on-regexp-matches-with-the-msg/99936 "2025-12-12T17:13:35Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [13 December 2025 08:59 UTC](https://discourse.nodered.org/t/switch-node-pass-on-regexp-matches-with-the-msg/99936/24 "2025-12-13T08:59:10Z")

</div>

something like

 ![Screenshot 2025-12-13 at 08.55.51](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/3/83ea5d447a81385c8662a77a1e4b9bc417dc1166.png)  
but what I don't like is that the space for entering the regex is somewhat small and hard to see what is going on - hard to edit and debug - and almost by definition when you start using groups the regex will get large quickly.

---

_[View the full topic](https://discourse.nodered.org/t/switch-node-pass-on-regexp-matches-with-the-msg/99936)._
