extractInnerTextWithRegex static method
Implementation
static String extractInnerTextWithRegex(String htmlString) {
final regex = RegExp(r'>([^<>]+)<');
final match = regex.firstMatch(htmlString);
return match != null ? match.group(1)?.trim() ?? '' : '';
}