GBS is diagnosed through various methods. Pregnant women are usually screened for GBS between 35-37 weeks of gestation using a vaginal and rectal swab. For newborns showing symptoms, blood cultures, cerebrospinal fluid analysis, and other laboratory tests may be performed to confirm the presence of the bacteria.