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

Help writing regex code

  • Feb 3, 2021 6:14 PM UTC
  • 2 replies
  • 45 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}$

View original

2 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Answer
  • Feb 3, 2021 6:33 PM UTC

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


  • Author
  • Feb 3, 2021 6:46 PM UTC

That worked. Thank you so much!