Help writing regex code | XM Community
Skip to main content
Solved

Help writing regex code

  • February 3, 2021
  • 2 replies
  • 18 views

Hi. Can someone tell me where I can learn to write custom code or just help me write this code? I need a match regex validation code so that they have to enter 3 letters followed by 4 numbers. For example: SMI0405

Best answer by ahmedA

^\\D{3}\\d{4}$

2 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Answer
  • February 3, 2021

^\\D{3}\\d{4}$


  • Author
  • February 3, 2021

That worked. Thank you so much!