Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

REGEX IBAN

  • Benitovich
  • Benitovich's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 5 months ago #229244 by Benitovich
REGEX IBAN was created by Benitovich
Ayúdenos a ayudarle y rellene los siguientes campos:.
Su versión de LimeSurvey:[vea la parte inferior derecha de su pantalla de administración de LimeSurvey].
Servidor propio o LimeSurvey Cloud:
Plantilla de diseño utilizada:
==================
Buenas tardes
Estoy intentando validar una expresión del IBAN con cualquier de estas dos expresiones regulares
  • ES\d{2}[ ]\d{4}[ ]\d{4}[ ]\d{4}[ ]\d{4}[ ]\d{4}|ES\d{22}
  • ^ES\d{22}$
al introducir el código ES1212341234123412341234 no lo acepta. La única diferencia que encuentro es que e la caja de entrada es "RegExp"
Gracías de antemano

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 5 months ago - 2 years 5 months ago #229248 by Joffm
Replied by Joffm on topic REGEX IBAN
1. Si usas  "|" , tienes que poner paréntesis
2. Esta validación debe comenzar con "/^" y terminar con "$/".

/^(ES\d{2}[ ]\d{4}[ ]\d{4}[ ]\d{4}[ ]\d{4}[ ]\d{4})|(ES\d{22})$/

 

 

 

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 5 months ago by Joffm.

Please Log in to join the conversation.

  • Benitovich
  • Benitovich's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 5 months ago #229253 by Benitovich
Replied by Benitovich on topic REGEX IBAN
Muchísimas gracias Joffm.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose