The regex I prepared for php (I don\'t know if there is a different build in c ++) on https://regex101.com/:
(?<=deneme\\()([^]]+)(?=\\))