getBloodGroup function
Implementation
String? getBloodGroup(String text) {
RegExp bloodGroupRegex = RegExp(r"Blood Group : (.+) @@");
String? bloodGroup = bloodGroupRegex.firstMatch(text)?.group(1);
print("Blood Group: $bloodGroup");
return bloodGroup;
}