angular multiple validator pattern single input

JavaScript
Validators.pattern(`(${PATTERN_1})|(${PATTERN_2})`)
Source

Also in JavaScript: