live template:
groovyScript("def regex = ~/DEFAULT CHARSET = utf8mb4 COMMENT = '\([^']*\)'/;
def fileText = new File(_1).getText();
def match = regex.matcher(fileText);
while (match.find()) {return match.group(1);}", filePath())
def regex = ~/DEFAULT CHARSET = utf8mb4 COMMENT = '\([^']*\)'/;
def fileText = new File(_1).getText();
def match = regex.matcher(fileText);
while (match.find()) {return match.group(1);}