# Use Regex in Wix Studio Form to validate Iban

**URL:** <https://forum.wixstudio.com/t/use-regex-in-wix-studio-form-to-validate-iban/58708>\
**Category:** Ask the community\
**Tags:** wix-forms, wix-studio, code, wix, question\
**Created:** [May 1, 2024, 2:07pm UTC](https://forum.wixstudio.com/t/use-regex-in-wix-studio-form-to-validate-iban/58708 "2024-05-01T14:07:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user2156](https://avatars.discourse-cdn.com/v4/letter/u/46a35a/32.png) [@user2156](https://forum.wixstudio.com/u/user2156)\
**Post date:** [May 1, 2024, 2:07pm UTC](https://forum.wixstudio.com/t/use-regex-in-wix-studio-form-to-validate-iban/58708/1 "2024-05-01T14:07:28Z")

</div>

**Question:**  
How to I add Regex to a form field to validate it’s input in Wix Studio?

**Product:**  
Wix Studio Editor

**What are you trying to achieve:**  
I know in the Wix Editor, there was a part for REGEX, but i am unable to to so in Wix Studio. I looked a bit around and wound a way to do so in code → public & backend → custom Extensions. But then it asks be to select “add form Submission SPI” but it is not on my list.  
[Tutorial: Form Submission Custom Extension (wix.com)](https://dev.wix.com/docs/develop-websites/articles/code-tutorials/wix-forms/tutorial-form-submission-custom-extension)

Can anyone help me with that? thanks a lot! I just want to be able to include regex in an Iban field, like this one:  
`^[chCH]{2}\d{7}[0-9A-Za-z]{12}$`

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [May 2, 2024, 9:23am UTC](https://forum.wixstudio.com/t/use-regex-in-wix-studio-form-to-validate-iban/58708/2 "2024-05-02T09:23:34Z")

</div>

Read that one…

> [@RegEx my LOVE !](https://forum.wixstudio.com/t/regex-my-love/37042):
>
> Ok, i think i have a Reg-Ex-problem again! xD I am trying to get a value between two → " searched VALUE here " in a TEXT-STRING → using RegEx. Normaly this one… —\> RegEx —\> /“(.\*?)”/g …should work → but doesn’t. Works on an external RegEx-Test-site, but not on LIVE-site. This one works flawlessly (in Reg-Test-Editor & on my LIVE-site), if i want to search for → [searched value here] … ----\> RegEx —\> /[(.\*?)]/g What am i missing?
