i have for now few types of code that i need to find and replace with regex.
- {word1/G_KP8zXsDp8/word2}
- {word1/GKP8zXsDp8/word2}
- {word1/G-KP8zXsDp8/word2}
my replacement now is: /({word1\/)(\w+)\/(\w+)/
and it finds 1st and 2nd cases, but don't find 3rd one. and I need it what it would be in match[2]
$2
.