Skip to main content
Nintex Community Menu Bar

SN Validation

  • January 7, 2016
  • 0 replies
  • 1 view

Albarghouthy
Forum|alt.badge.img+16


 

Symptoms


SN Validation
 

Diagnoses


A service that we are writing takes in a SN and uses this to action a workflow. However we want to validate the SN.

Is there a regex that we can use for this?

i.e. 6 numbers followed by underscore followed by two numbers?
 

Resolution

This REGEX will validate the SN:
^[0-9]{6,}_[0-9]{2,}$
6digits_2digits at least.