Regular Expressions 101

Save & Manage Regex

  • Current Version: 5
  • Save & Share
  • Community Library

Flavor

  • PCRE2 (PHP)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java
  • .NET 7.0 (C#)
  • Rust
  • PCRE (Legacy)
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests
Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression
Processing...

Test String

Code Generator

Generated Code

#include <StringConstants.au3> ; to declare the Constants of StringRegExp #include <Array.au3> ; UDF needed for _ArrayDisplay and _ArrayConcatenate Local $sRegex = "(?m)AB\s+-\s+((.*\s*)*?)(?:[A-Z]{2}\s+-\s)\K" Local $sString = "AB - The new virus SARS-CoV-2 is savagely spreading out over the world. The biologic studies show that the target receptor for the virus might be angiotensin-converting enzyme 2 (ACE2). This peptide is responsible for converting angiotensin II (Ang II), which is a profoundly active peptide, into Ang 1-7 with quite a balancing barbell function. It is emphasized that the direct target of the virus is ACE2 underlining the obvious difference with ACE. Nevertheless, we hypothesized that a backload build-up effect on Ang II may usurp the ACE capacity and subsequently leave the bradykinin system unabated. " & @CRLF & _ "CN - Gemelli Against COVID-19 Post-Acute Care Study Group" & @CRLF & _ "LA - eng" & @CRLF & _ "PT - Journal Article" & @CRLF & _ "DEP - 20200611" & @CRLF & _ "TA - Aging Clin Exp Res" & @CRLF & _ "JT - Aging clinical and experimental research" & @CRLF & _ "JID - 101132995" & @CRLF & _ "SB - IM" & @CRLF & _ "PMC - PMC7287410" & @CRLF & _ "OTO - NOTNLM" & @CRLF & _ "OT - COVID-19" & @CRLF & _ "OT - Health care organization" & @CRLF & _ "AB - OBJECTIVE: The clinical manifestations of COVID-19 run from asymptomatic disease to " & @CRLF & _ " severe acute respiratory syndrome. Older age and comorbidities are associated to " & @CRLF & _ " more severe disease. A role of obesity is suspected. METHODS: We enrolled patients " & @CRLF & _ " hospitalized in the medical COVID-19 ward with SARS-CoV-2 related pneumonia. Primary " & @CRLF & _ " outcome of the study was to assess the relationship between the severity of COVID-19 " & @CRLF & _ " and obesity classes according to BMI. RESULTS: 92 patients (61.9% males; age " & @CRLF & _ " 70.5±13.3 years) were enrolled. Patients with overweight and obesity were younger " & @CRLF & _ " than normal-weight patients (68.0±12.6 and 67.0±12.6 years vs. 76.1±13.0 years, " & @CRLF & _ " p<0.01). A higher need for assisted ventilation beyond pure oxygen support (Invasive " & @CRLF & _ " Mechanical Ventilation or Non-Invasive Ventilation) and a higher admission to " & @CRLF & _ " intensive or semi-intensive care units was observed in patients with overweight and " & @CRLF & _ " obesity (p<0.01 and p < 0.05, respectively) even after adjusting for sex, age and " & @CRLF & _ " comorbidities (p<0.05 and p<0.001, respectively), or when patients with dementia or " & @CRLF & _ " advanced cancer were removed from the analysis (p<0.05). CONCLUSION: Patients with " & @CRLF & _ " overweight and obesity admitted in a medical ward for SARS-CoV-2 related pneumonia, " & @CRLF & _ " despite their younger age, required more frequently assisted ventilation and access " & @CRLF & _ " to intensive or semi-intensive care units than normal weight patients." & @CRLF & _ "CI - This article is protected by copyright. All rights reserved." & @CRLF & _ "FAU - Busetto, Luca" & @CRLF & _ "AU - Busetto L" & @CRLF & _ "AUID- ORCID: 0000-0003-4883-8980" & @CRLF & _ "AD - Department of Medicine, University of Padova, Padova, Italy." & @CRLF & _ "AD - Center for the Study and the Integrated Management of Obesity, Padova University " & @CRLF & _ " Hospital, Padova, Italy." & @CRLF & _ "FAU - Bettini, Silvia" & @CRLF & _ "AU - Bettini S" & @CRLF & _ "AD - Department of Medicine, University of Padova, Padova, Italy." & @CRLF & _ "FAU - Fabris, Roberto" & @CRLF & _ "AU - Fabris R" & @CRLF & _ "AD - Center for the Study and the Integrated Management of Obesity, Padova University " & @CRLF & _ " Hospital, Padova, Italy." & @CRLF & _ "FAU - Serra, Roberto" & @CRLF & _ "AU - Serra R" & @CRLF & _ "AD - Center for the Study and the Integrated Management of Obesity, Padova University " & @CRLF & _ " Hospital, Padova, Italy." & @CRLF & _ "FAU - Dal Pra', Chiara" & @CRLF & _ "AU - Dal Pra' C" & @CRLF & _ "AD - Center for the Study and the Integrated Management of Obesity, Padova University " & @CRLF & _ " Hospital, Padova, Italy." & @CRLF & _ "FAU - Maffei, Pietro" & @CRLF & _ "AU - Maffei P" & @CRLF & _ "AD - Center for the Study and the Integrated Management of Obesity, Padova University " & @CRLF & _ " Hospital, Padova, Italy." & @CRLF & _ "FAU - Rossato, Marco" & @CRLF & _ "AU - Rossato M" & @CRLF & _ "AD - Department of Medicine, University of Padova, Padova, Italy." & @CRLF & _ "AD - Center for the Study and the Integrated Management of Obesity, Padova University " & @CRLF & _ " Hospital, Padova, Italy." & @CRLF & _ "FAU - Fioretto, Paola" & @CRLF & _ "AU - Fioretto P" & @CRLF & _ "AD - Department of Medicine, University of Padova, Padova, Italy." & @CRLF & _ "AD - Center for the Study and the Integrated Management of Obesity, Padova University " & @CRLF & _ " Hospital, Padova, Italy." & @CRLF & _ "FAU - Vettor, Roberto" & @CRLF & _ "AU - Vettor R" & @CRLF & _ "AD - Department of Medicine, University of Padova, Padova, Italy." & @CRLF & _ "AD - Center for the Study and the Integrated Management of Obesity, Padova University " & @CRLF & _ " Hospital, Padova, Italy." & @CRLF & _ "LA - eng" & @CRLF & _ "PT - Journal Article" & @CRLF & _ "DEP - 20200528" & @CRLF & _ "TA - Obesity (Silver Spring)" & @CRLF & _ "JT - Obesity (Silver Spring, Md.)" & @CRLF & _ "JID - 101264860" & @CRLF & _ "SB - IM" & @CRLF & _ "PMC - PMC7283686" & @CRLF & _ "OTO - NOTNLM" & @CRLF & _ "OT - COVID-19" & @CRLF & _ "OT - SARS-CoV-2" & @CRLF & _ "OT - obesity" & @CRLF & _ "EDAT- 2020/05/29 06:00" & @CRLF & _ "MHDA- 2020/05/29 06:00" & @CRLF & _ "CRDT- 2020/05/29 06:00" & @CRLF & _ "PHST- 2020/05/29 06:00 [entrez]" & @CRLF & _ "PHST- 2020/05/29 06:00 [pubmed]" & @CRLF & _ "PHST- 2020/05/29 06:00 [medline]" & @CRLF & _ "AID - OBY22918 [pii]" & @CRLF & _ "AID - 10.1002/oby.22918 [doi]" & @CRLF & _ "PST - aheadofprint" & @CRLF & _ "SO - Obesity (Silver Spring). 2020 May 28:10.1002/oby.22918. doi: 10.1002/oby.22918." & @CRLF & _ "" & @CRLF & _ "PMID- 32463543" & @CRLF & _ "OWN - NLM" & @CRLF & _ "STAT- Publisher" & @CRLF & _ "LR - 20200528" & @CRLF & _ "IS - 1879-0844 (Electronic)" & @CRLF & _ "IS - 1388-9842 (Linking)" & @CRLF & _ "DP - 2020 May 28" & @CRLF & _ "TI - Management of Heart Failure Patients with COVID-19. A Joint Position Paper of the " & @CRLF & _ " Chinese Heart Failure Association & National Heart Failure Committee and the Heart " & @CRLF & _ " Failure Association of the European Society of Cardiology." & @CRLF & _ "LID - 10.1002/ejhf.1915 [doi]" & @CRLF & _ "AB - The Coronavirus Disease 2019 (COVID-19) pandemic of severe acute respiratory " & @CRLF & _ " syndrome coronavirus 2 (SARS-CoV-2) infection is causing considerable morbidity and " & @CRLF & _ " mortality worldwide. Multiple reports have suggested that patients with heart " & @CRLF & _ " failure (HF) are at a higher risk of severe disease and mortality with COVID-19. " & @CRLF & _ " Moreover, evaluating and treating HF patients with comorbid COVID-19 represents a " & @CRLF & _ " formidable clinical challenge as symptoms of both conditions may overlap and they " & @CRLF & _ " may potentiate each other. Limited data exist regarding comprehensive management of " & @CRLF & _ " HF patients with concomitant COVID-19. Since these issues pose serious new " & @CRLF & _ " challenges for clinicians worldwide, HF specialists must develop a structured " & @CRLF & _ " approach to the care of patients with COVID-19 and be included early in the care of " & @CRLF & _ " these patients. Therefore, the Heart Failure Association of the European Society of " & @CRLF & _ " Cardiology and Chinese Heart Failure Association & National Heart Failure Committee " & @CRLF & _ " conducted web-based meetings to discuss these unique clinical challenges and reach a " & @CRLF & _ " consensus opinion to help providers worldwide deliver better patient care. The main " & @CRLF & _ " objective of this position paper is to outline the management of HF patients with " & @CRLF & _ " concomitant COVID-19 based on the available data and personal experiences of " & @CRLF & _ " physicians from Asia, Europe and United States. This article is protected by " & @CRLF & _ " copyright. All rights reserved." & @CRLF & _ "CI - This article is protected by copyright. All rights reserved." & @CRLF & _ "FAU - Zhang, Yuhui" & @CRLF & _ "AU - Zhang Y" & @CRLF & _ "AD - Heart Failure Center, State Key Laboratory of Cardiovascular Disease, Fuwai " & @CRLF & _ " Hospital, National Center for Cardiovascular Diseases, Chinese Academy of Medical " & @CRLF & _ " Sciences & Peking Union Medical College, Beijing, 100037, China." & @CRLF & _ "FAU - Stewart Coats, Andrew J" & @CRLF & _ "AU - Stewart Coats AJ" & @CRLF & _ "AD - Department of Cardiology, IRCCS San Raffaele Pisana, Rome, Italy." & @CRLF & _ "FAU - Zheng, Zhe" & @CRLF & _ "AU - Zheng Z" & @CRLF & _ "AD - Department of Cardiovascular Surgery, State Key Laboratory of Cardiovascular " & @CRLF & _ " Disease, Fuwai Hospital, National Center for Cardiovascular Diseases, Chinese " & @CRLF & _ " Academy of Medical Sciences & Peking Union Medical College, Beijing, 100037, China." & @CRLF & _ "FAU - Adamo, Marianna" & @CRLF & _ "AU - Adamo M" & @CRLF & _ "AD - Cardiology, ASST Spedali Civili di Brescia and Department of Medical and Surgical " & @CRLF & _ " Specialties, Radiological Sciences, and Public Health, University of Brescia, " & @CRLF & _ " Brescia, Italy." & @CRLF & _ "FAU - Ambrosio, Giuseppe" & @CRLF & _ "AU - Ambrosio G" & @CRLF & _ "AD - Division of Cardiology, University of Perugia School of Medicine, Perugia, Italy." & @CRLF & _ "FAU - Anker, Stefan D" & @CRLF & _ "AU - Anker SD" & @CRLF & _ "AD - Department of Cardiology (CVK); and Berlin Institute of Health Center for " & @CRLF & _ " Regenerative Therapies (BCRT), German Centre for Cardiovascular Research (DZHK) " & @CRLF & _ " partner site Berlin; Charité Universitätsmedizin Berlin, Germany." & @CRLF & _ "FAU - Butler, Javed" & @CRLF & _ "AU - Butler J" & @CRLF & _ "AD - Department of Medicine, University of Mississippi Medical Center, Jackson, MS, USA." & @CRLF & _ "FAU - Xu, Dingli" & @CRLF & _ "AU - Xu D" & @CRLF & _ "AD - Key Laboratory for Organ Failure Research, Department of Cardiology, Nanfang " & @CRLF & _ " Hospital, Southern Medical University, Guangzhou, China. Guangzhou Regenerative " & @CRLF & _ " Medicine and Health Guangdong Laboratory, Guangzhou, 510515, China." & @CRLF & _ "FAU - Mao, Jingyuan" & @CRLF & _ "AU - Mao J" & @CRLF & _ "AD - First Teaching Hospital of Tianjin University of Traditional Chinese Medicine, " & @CRLF & _ " Tianjin, 300193, China." & @CRLF & _ "FAU - Khan, Muhammad Shahzeb" & @CRLF & _ "AU - Khan MS" & @CRLF & _ "AD - Department of Medicine, Cook County Hospital, Chicago, IL, USA." & @CRLF & _ "FAU - Bai, Ling" & @CRLF & _ "AU - Bai L" & @CRLF & _ "AD - Department of Cardiovascular Medicine, The First Affiliated Hospital of Xi'an " & @CRLF & _ " Jiaotong University, Xi'an, 710061, China." & @CRLF & _ "FAU - Mebazaa, Alexandre" & @CRLF & _ "AU - Mebazaa A" & @CRLF & _ "AD - Université de Paris, Paris, France; U942 Inserm - MASCOT and Department of " & @CRLF & _ " Anaesthesia and Critical Care, University Hospitals Saint Louis-Lariboisière, APHP, " & @CRLF & _ " Paris, France." & @CRLF & _ "FAU - Ponikowski, Piotr" & @CRLF & _ "AU - Ponikowski P" & @CRLF & _ "AD - Department of Heart Diseases, Medical University, Military Hospital, Wrocław, " & @CRLF & _ " Poland." & @CRLF & _ "FAU - Tang, Qizhu" & @CRLF & _ "AU - Tang Q" & @CRLF & _ "AD - Department of Cardiology, Renmin Hospital of Wuhan University, Cardiovascular " & @CRLF & _ " Research Institute, Wuhan University, Hubei, Key Laboratory of Cardiology, Wuhan, " & @CRLF & _ " 430060, China." & @CRLF & _ "FAU - Ruschitzka, Frank" & @CRLF & _ "AU - Ruschitzka F" & @CRLF & _ "AD - University Heart Centre, University Hospital Zurich, Zurich, Switzerland." & @CRLF & _ "FAU - Seferovic, Petar" & @CRLF & _ "AU - Seferovic P" & @CRLF & _ "AD - Clinic of Endocrinology, Diabetes and Metabolic Diseases, Belgrade University " & @CRLF & _ " Medical Center, Belgrade, Serbia." & @CRLF & _ "FAU - Tschöpe, Carsten" & @CRLF & _ "AU - Tschöpe C" & @CRLF & _ "AD - Department of Cardiology, Campus Virchow Klinikum, Charite - Universitaetsmedizin " & @CRLF & _ " Berlin, Berlin, Germany." & @CRLF & _ "FAU - Zhang, Shuyang" & @CRLF & _ "AU - Zhang S" & @CRLF & _ "AD - Department of Cardiology, Peking Union Medical College & Chinese Academy of Medical " & @CRLF & _ " Science, Peking Union Medical College Hospital, No. 1 Shuai Fu Yuan, Beijing, " & @CRLF & _ " 100730, China." & @CRLF & _ "FAU - Gao, Chuanyu" & @CRLF & _ "AU - Gao C" & @CRLF & _ "AD - Department of Cardiology, Henan Provincial People's Hospital; Fuwai Central China " & @CRLF & _ " Cardiovascular Hospital, Zhengzhou, 45003, China." & @CRLF & _ "FAU - Zhou, Shenghua" & @CRLF & _ "AU - Zhou S" & @CRLF & _ "AD - Department of Cardiology, The Second Xiangya Hospital of Central South University, " & @CRLF & _ " Changsha, 410011, China." & @CRLF & _ "FAU - Senni, Michele" & @CRLF & _ "AU - Senni M" & @CRLF & _ "AD - Cardiology Division, Cardiovascular Department, Papa Giovanni XXIII Hospital, " & @CRLF & _ " Bergamo, Italy." & @CRLF & _ "FAU - Zhang, Jian" & @CRLF & _ "AU - Zhang J" & @CRLF & _ "AD - Heart Failure Center, State Key Laboratory of Cardiovascular Disease, Fuwai " & @CRLF & _ " Hospital, National Center for Cardiovascular Diseases, Chinese Academy of Medical " & @CRLF & _ " Sciences & Peking Union Medical College, Beijing, 100037, China." & @CRLF & _ "FAU - Metra, Marco" & @CRLF & _ "AU - Metra M" & @CRLF & _ "AD - Cardiology, ASST Spedali Civili di Brescia and Department of Medical and Surgical " & @CRLF & _ " Specialties, Radiological Sciences, and Public Health, University of Brescia, " & @CRLF & _ " Brescia, Italy." & @CRLF & _ "LA - eng" & @CRLF & _ "PT - Journal Article" & @CRLF & _ "DEP - 20200528" & @CRLF & _ "PL - England" & @CRLF & _ "TA - Eur J Heart Fail" & @CRLF & _ "JT - European journal of heart failure" & @CRLF & _ "JID - 100887595" & @CRLF & _ "SB - IM" & @CRLF & _ "OTO - NOTNLM" & @CRLF & _ "OT - COVID-19" & @CRLF & _ "OT - Coronavirus" & @CRLF & _ "OT - Diagnosis" & @CRLF & _ "OT - Heart failure" & @CRLF & _ "OT - Management" & @CRLF & _ "OT - SARS-COV2" & @CRLF & _ "EDAT- 2020/05/29 06:00" & @CRLF & _ "MHDA- 2020/05/29 06:00" & @CRLF & _ "CRDT- 2020/05/29 06:00" & @CRLF & _ "PHST- 2020/05/14 00:00 [received]" & @CRLF & _ "PHST- 2020/05/22 00:00 [revised]" & @CRLF & _ "PHST- 2020/05/24 00:00 [accepted]" & @CRLF & _ "PHST- 2020/05/29 06:00 [entrez]" & @CRLF & _ "PHST- 2020/05/29 06:00 [pubmed]" & @CRLF & _ "PHST- 2020/05/29 06:00 [medline]" & @CRLF & _ "AID - 10.1002/ejhf.1915 [doi]" & @CRLF & _ "PST - aheadofprint" & @CRLF & _ "SO - Eur J Heart Fail. 2020 May 28. doi: 10.1002/ejhf.1915." & @CRLF & _ "" & @CRLF & _ "PMID- 32463530" & @CRLF & _ "OWN - NLM" & @CRLF & _ "STAT- Publisher" & @CRLF & _ "LR - 20200611" & @CRLF & _ "IS - 1930-739X (Electronic)" & @CRLF & _ "IS - 1930-7381 (Print)" & @CRLF & _ "IS - 1930-7381 (Linking)" & @CRLF & _ "DP - 2020 May 28" & @CRLF & _ "TI - Screen time for children and adolescents during the COVID-19 pandemic." & @CRLF & _ "LID - 10.1002/oby.22917 [doi]" & @CRLF & _ "AB - The coronavirus 2019 (COVID-19) pandemic has led to laws and policies including " & @CRLF & _ " national school closures, lockdown or shelter in place laws, and social distancing " & @CRLF & _ " recommendations that may translate to higher overall screen time among children and " & @CRLF & _ " adolescents for the duration of these laws and policies. These policies may need to " & @CRLF & _ " be periodically re-instated to control future COVID-19 recurrences or other national " & @CRLF & _ " emergencies. Excessive screen time is associated with cardiovascular disease risk " & @CRLF & _ " factors such as obesity, high blood pressure, and insulin resistance because it " & @CRLF & _ " increases sedentary time and is associated with snacking." & @CRLF & _ "CI - This article is protected by copyright. All rights reserved." & @CRLF & _ "FAU - Nagata, Jason M" & @CRLF & _ "AU - Nagata JM" & @CRLF & _ "AD - Department of Pediatrics, University of California, San Francisco, San Francisco, " & @CRLF & _ " CA, USA." & @CRLF & _ "FAU - Abdel Magid, Hoda S" & @CRLF & _ "AU - Abdel Magid HS" & @CRLF & _ "AD - Department of Epidemiology and Population Health, Stanford University, Stanford, CA, " & @CRLF & _ " USA." & @CRLF & _ "FAU - Gabriel, Kelley Pettee" & @CRLF & _ "AU - Gabriel KP" & @CRLF & _ "AD - Department of Epidemiology, University of Alabama at Birmingham, Birmingham, AL, " & @CRLF & _ " USA." & @CRLF & _ "LA - eng" & @CRLF & _ "PT - Journal Article" & @CRLF & _ "DEP - 20200528" & @CRLF & _ "TA - Obesity (Silver Spring)" & @CRLF & _ "JT - Obesity (Silver Spring, Md.)" & @CRLF & _ "JID - 101264860" & @CRLF & _ "SB - IM" & @CRLF & _ "PMC - PMC7283714" & @CRLF & _ "EDAT- 2020/05/29 06:00" & @CRLF & _ "MHDA- 2020/05/29 06:00" & @CRLF & _ "CRDT- 2020/05/29 06:00" & @CRLF & _ "PHST- 2020/05/29 06:00 [entrez]" & @CRLF & _ "PHST- 2020/05/29 06:00 [pubmed]" & @CRLF & _ "PHST- 2020/05/29 06:00 [medline]" & @CRLF & _ "AID - OBY22917 [pii]" & @CRLF & _ "AID - 10.1002/oby.22917 [doi]" & @CRLF & _ "PST - aheadofprint" & @CRLF & _ "SO - Obesity (Silver Spring). 2020 May 28:10.1002/oby.22917. doi: 10.1002/oby.22917." & @CRLF & _ "" & @CRLF & _ "PMID- 32463522" & @CRLF & _ "OWN - NLM" & @CRLF & _ "STAT- Publisher" & @CRLF & _ "LR - 20200611" & @CRLF & _ "IS - 1365-2044 (Electronic)" & @CRLF & _ "IS - 0003-2409 (Print)" & @CRLF & _ "IS - 0003-2409 (Linking)" & @CRLF & _ "DP - 2020 May 28" & @CRLF & _ "TI - Managing the R0 of Covid-19: mathematics fights back." & @CRLF & _ "LID - 10.1111/anae.15151 [doi]" & @CRLF & _ "AB - Perhaps for the first time in history, a single statistical measure is now dictating " & @CRLF & _ " the entirety of UK government policy. The 'basic reproduction number', R0 value for " & @CRLF & _ " Covid-19 is more directly determining economic and social policy than has ever the " & @CRLF & _ " inflation rate, interest rate, or exchange rate. It is encouraging to see political " & @CRLF & _ " policy for once 'rational' but disappointing it took a pandemic to make it so. " & @CRLF & _ " However, is R0 an appropriate and significant measure? Like many " & @CRLF & _ " mathematics/statistical parameters, R0 is relatively easy to explain, more " & @CRLF & _ " complicated to understand (even graphically), and very difficult to calculate, or " & @CRLF & _ " use for modelling. Given its significance for all our lives, it is important to " & @CRLF & _ " understand a little of its background. This article seeks to explain the issues in a " & @CRLF & _ " non-technical way, relegating all equations (used sparingly) to appendices." & @CRLF & _ "CI - This article is protected by copyright. All rights reserved." & @CRLF & _ "FAU - Pandit, J J" & @CRLF & _ "AU - Pandit JJ" & @CRLF & _ "AD - Consultant Anaesthetist, Nuffield Department of Anaesthetics, Oxford University " & @CRLF & _ " Hospitals Foundation Trust, Oxford, OX3 9DU, United Kingdom." & @CRLF & _ "LA - eng" & @CRLF & _ "PT - Journal Article" & @CRLF & _ "DEP - 20200528" & @CRLF & _ "TA - Anaesthesia" & @CRLF & _ "JT - Anaesthesia" & @CRLF & _ "JID - 0370524" & @CRLF & _ "SB - AIM" & @CRLF & _ "SB - IM" & @CRLF & _ "PMC - PMC7283796" & @CRLF & _ "EDAT- 2020/05/29 06:00" & @CRLF & _ "MHDA- 2020/05/29 06:00" & @CRLF & _ "CRDT- 2020/05/29 06:00" & @CRLF & _ "PHST- 2020/05/29 06:00 [entrez]" & @CRLF & _ "PHST- 2020/05/29 06:00 [pubmed]" & @CRLF & _ "PHST- 2020/05/29 06:00 [medline]" & @CRLF & _ "AID - ANAE15151 [pii]" Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYGLOBALFULLMATCH) Local $aFullArray[0] For $i = 0 To UBound($aArray) -1 _ArrayConcatenate($aFullArray, $aArray[$i]) Next $aArray = $aFullArray ; Present the entire match result _ArrayDisplay($aArray, "Result")

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm