# RegEx Input Widget

**URL:** <https://community.tulip.co/t/regex-input-widget/4762>\
**Category:** Developer\
**Tags:** custom-widgets\
**Created:** [March 16, 2022, 8:30pm UTC](https://community.tulip.co/t/regex-input-widget/4762 "2022-03-16T20:30:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pete\_Hartnett](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete_hartnett/32/3678_2.png) [@Pete\_Hartnett](https://community.tulip.co/u/Pete_Hartnett)\
**Post date:** [March 16, 2022, 8:30pm UTC](https://community.tulip.co/t/regex-input-widget/4762/1 "2022-03-16T20:30:57Z")

</div>

Hey All,

Sharing another widget that you might find useful. This widget acts as a text input, but the textbox will have a red boarder if the input doesn’t match a RegEx string. When a matching input is found, a trigger is fired, this can advance a step, load a record, or just about anything else.

I could see thing being useful in a ton of different places, the use-case that comes to mind is anywhere where users need to enter a string that should follow a standard format. You could use this as a Poke-yoke to insure the IDs in your order table follow a consistent pattern.

[https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/8/8ef85e2d243b5c750d651fd0f8cd20d29de2b40c.mov](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/8/8ef85e2d243b5c750d651fd0f8cd20d29de2b40c.mov)

What do you think? How could you expand on this idea?

Pete  
_Note: These widgets haven’t gone through Tulip’s code review process, so use it at your own risk_  
[customWidget-Regex Input.json](https://community.tulip.co/uploads/short-url/wShmOaySuS4z7k6OuY3kQMiheHu.json) (1.8 KB)
