I would like to find some words in my string. Example: {add_First} and/or {ban_1}
Regular expression for first: var arr = str.match(/{add_([A-Z]+)}/gi);
Regular expression for second: var arr = str.match(/{ban_([0-9]+)}/gi);
But how to combime both regular expressions?