Regular Expressions 101

translation batch name structure

Open Workspace
  • PCRE2 (PHP)
  • Match
1

Regular Expression

/
^ (?<batch_number>\d{2})- (?: (?<component>QQ|CO|CG) (?<target_group>[AS]) (?<paper>P)? ) (?:- (?<domain>(?:LDW|MAT|REA|SCI|XYZ) (?<division>[abc])? ) )? -(?<authoring_point>[TN]) $
/
gmx

Description

internal structure of a batch name

Submitted by msoutopico