How to combine two regex in JavaScript? - 3schools

How to combine two regex in JavaScript? - 3schools