Posts by user129787 • 21 points
1 post
-
2
votes3
answers1246
viewsA: Regular expression for 2 specific cases
/^\d-\d{12}$/ and /^[A-Z]{2}[1-9]:\d{2}:\d{6}$/ If only SP and RJ are valid, use /^(SP|RJ)[1-9]:\d{2}:\d{6}$/ For [SP|RJ]{2} accept SP, RJ, PS and JR.…