I want catch word from {t(\'word\')}.
word
{t(\'word\')}
Try to use /(?<=t\\(([`|\'|"]?))(.*?)(?=\\1\\))/g.
/(?<=t\\(([`|\'|"]?))(.*?)(?=\\1\\))/g
But the result is