I tried to do it this way:
var regex = new RegExp ("(?<= \ () [1-9 ](?=( and | or)) "," g ");
but I have an error:
invalid quantify ?<=()[ 1-9 ](?=( and | or))
thank you for helping me
I don't know how that statement is relevant to the question asked by the original poster or this forum.