i have a string "proofs 161798-2 PDF_Review_2.1_Whats_New" I want to find the first digit after the hyphen. however, i am using Enfocus Switch program and does not allow expressions such as (?<=-)/d{1}. It marks the ? and the () red. Does anyone have any suggestions or alternate ways of writing this without using a ? or ()
I tried using /(?<=-)\d{1} using regex 101 generator, and it worked. But after plugging it into Enfocus Switch program, it won't accept it as a valid expression. It states that there is an invalid grouping.