I have a sentence which starts and ends with '_h'. I want to generate a regex which can catch multiple occurences of this case in a complete string.
I have generated a regex that looks like this "_h.[a-zA-Z0-9]._h". I want to add a "global flag" like the one in JavaScript but wasn't able to find any solution for it.
Input String: "_h Hello _h _h World _h"
Current output: Hello World
Expected output: [Hello, World]