I am writting a REGEX to find sentences starting with _@_ and ending with __d__. d can be 1 or 2 digit.
For example, I have this expression
getting a regex _@_enter text text . tex, text here__2___2_ te xt text .
and would like to get
_@_enter text text . tex, text here__2__
Here is my try.
^(_@_)?.*\n\_\_\d{1,2}\_$/gm
Could someone please tell me what is wrong with this ?