Remove (s), (es), (ies)

I. Lvg Command:

shell> lvg -f:rs -F:1:2

II. Test Cases:

Assault(s)|Assault
Burn(s);skin|Burn;skin
[D]Chill(s) NOS|[D]Chill NOS
Abdomen CT Adrenal Mass(es) Bilateral|Abdomen CT Adrenal Mass Bilateral
Donor pneumonectomy(ies) with preparation |Donor pneumonectomy with preparation
[X]O spontn disrptn/lig(s)knee|[X]O spontn disrptn/lig knee
9(s)-erythromycylamine|9(s)-erythromycylamine
XLalpha(s) protein|XLalpha(s) protein
Acquired absence/breast(s)|Acquired absence/breast
Deep F/T burn-lip(s)+BPL|Deep F/T burn-lip+BPL
Dupuyt dis-finger(s) + contrac|Dupuyt dis-finger + contrac
1-N-(s)-4-amino-2-hydroxybutyryl-3'4'-deoxyneamine|1-N-(s)-4-amino-2-hydroxybutyryl-3'4'-deoxyneamine
anatoxin-b(s)|anatoxin-b(s)
Ap(s)pCH2pp(s)A|Ap(s)pCH2pp(s)A
Bacillus phage rho11(s)|Bacillus phage rho11(s)
Cbz-AAPhepsi((s)-CH(OH)CH2)GlyVV-OMe|Cbz-AAPhepsi((s)-CH(OH)CH2)GlyVV-OMe
EAV G(s) glycoprotein|EAV G(s) glycoprotein
G(s) Alpha|G(s) Alpha
J(s)(a) ANTIGEN|J(s)(a) ANTIGEN
O spontn disrptn/lig(s)knee|O spontn disrptn/lig knee
(s)-3-hydroxybutanoate -2-oxoglutarate oxidoreductase|(s)-3-hydroxybutanoate -2-oxoglutarate oxidoreductase
Salmonella II 6,7:(g),m,(s),t:1,5|Salmonella II 6,7:(g),m,(s),t:1,5
(s)-(+)-citreofuran|(s)-(+)-citreofuran
su(s) protein, Drosophila|su(s) protein, Drosophila
5(s)-hydroxy-6(R)-cysteinyl-7-9-trans-11,14-cis-eicosatetraenoic acid-S,S-dioxide|5(s)-hydroxy-6(R)-cysteinyl-7-9-trans-11,14-cis-eicosatetraenoic acid-S,S-dioxide
8(R)9(s)11(R)12(S)-9 alpha-homo-9,11-epoxy-5(Z),13(E)-15S-hydroxyprostadienoic acid|8(R)9(s)11(R)12(S)-9 alpha-homo-9,11-epoxy-5(Z),13(E)-15S-hydroxyprostadienoic acid
Abdomen CT (Enhanced) Small Intestine Wall(s) Thickened|Abdomen CT (Enhanced) Small Intestine Wall Thickened
Ablation, bone tumor(s) (eg, osteoid osteoma, metastasis) radiofrequency, percutaneous, including computed tomographic guidance|Ablation, bone tumor (eg, osteoid osteoma, metastasis) radiofrequency, percutaneous, including computed tomographic guidance
Abrasion or friction burn of hand(s) except finger(s) alone, infected|Abrasion or friction burn of hand except finger alone, infected
Abscess, toe(s)|Abscess, toe
Abscess;tendon(s)|Abscess;tendon
Abuse, drug(s), heroin|Abuse, drug, heroin
Abuse;drug(s);cocaine|Abuse;drug;cocaine
Acquired absence of finger(s) [including thumb], unilateral|Acquired absence of finger [including thumb], unilateral
Addiction;drug(s);ecstasy|Addiction;drug;ecstasy
Adhesion(s) NOS, post-operative|Adhesion NOS, post-operative
Adjustment or revision of external fixation system requiring anesthesia (eg, new pin(s) or wire(s) and/or new ring(s) or bar(s))|Adjustment or revision of external fixation system requiring anesthesia (eg, new pin or wire and/or new ring or bar)
Administer prescribed unloading agent(s) (e.g., morphine, Lasix, and nitroglycerine), as appropriate|Administer prescribed unloading agent (e.g., morphine, Lasix, and nitroglycerine), as appropriate
Amputation of limb(s)+complic.|Amputation of limb+complic.
Ap(s)pCHClpp(s)A|Ap(s)pCHClpp(s)A
Arthroplasty, femoral condyles or tibial plateau(s), knee|Arthroplasty, femoral condyles or tibial plateau, knee
Assault(s);sexual;victim|Assault;sexual;victim
Assess availability and capabilities of support person(s).|Assess availability and capabilities of support person.
Breath Sound(s) Amphoric|Breath Sound Amphoric
Burn of wrist(s) and hand(s) (disorder)|Burn of wrist and hand (disorder)
Caregiver(s)' provision of patient's comfort items|Caregiver' provision of patient's comfort items
Caregiver(s)' resolution of anger|Caregiver' resolution of anger
Cellulitis, finger(s)|Cellulitis, finger
Certificate(s), social|Certificate, social
Certificate(s);social|Certificate;social
Chemodenervation of muscle(s); cervical spinal muscle(s) (eg, for spasmodic torticollis)|Chemodenervation of muscle; cervical spinal muscle (eg, for spasmodic torticollis)
Closed treatment of acetabulum (hip socket) fracture(s); without manipulation|Closed treatment of acetabulum (hip socket) fracture; without manipulation
con ablacion de tumor(es), polipo(s), u otra lesion(es) no factibles de ser extirpados con pinza de biopsia de electrocoagulacion, cauterio bipolar o tecnica deasa|con ablacion de tumor, polipo, u otra lesion no factibles de ser extirpados con pinza de biopsia de electrocoagulacion, cauterio bipolar o tecnica deasa
Concern;appearance;breast(s);F|Concern;appearance;breast;F
Contus toe(s) + damage to nail|Contus toe + damage to nail
Cramp(s), abdominal|Cramp, abdominal
Cramp(s), foot/feet|Cramp, foot/feet
Crushing injuries involving multiple regions of upper limb(s)|Crushing injuries involving multiple regions of upper limb
Cyst, tarsal(s), eyelid|Cyst, tarsal, eyelid
Cyst;tarsal(s);eyelid|Cyst;tarsal;eyelid
[D]Chill(s) NOS (context-dependent category)|[D]Chill NOS (context-dependent category)
Decompression; unspecified nerve(s) (specify)|Decompression; unspecified nerve (specify)
Deep F/T burn-lip(s)-no BPL|Deep F/T burn-lip-no BPL
Determine parent(s)' knowledge and readiness and ability to learn about infant care|Determine parent' knowledge and readiness and ability to learn about infant care
Determine patient's health risk(s), as appropriate|Determine patient's health risk, as appropriate
Dislocation of toe(s), unspecified|Dislocation of toe, unspecified
DNA modification methylase rho11(s)II|DNA modification methylase rho11(s)II
Dupuytren's disease of finger(s) (disorder)|Dupuytren's disease of finger (disorder)
Dupuytren's disease of finger(s), nodules with no contracture|Dupuytren's disease of finger, nodules with no contracture
evision o remocion de electrodos neuroestimuladores, arreglo(s) percutaneo(s) o placa(s)/paleta(s)|evision o remocion de electrodos neuroestimuladores, arreglo percutaneo o placa/paleta
Excision exostosis(es), external auditory canal|Excision exostosis, external auditory canal
Excision of benign tumor or cyst of mandible; requiring intra-oral osteotomy (eg , locally aggressive or destructive lesion(s))|Excision of benign tumor or cyst of mandible; requiring intra-oral osteotomy (eg , locally aggressive or destructive lesion)
Extended culture of oocyte(s)/embryo(s), 4-7 days|Extended culture of oocyte/embryo, 4-7 days
Fracture of rib(s), sternum, larynx or trachea NOS|Fracture of rib, sternum, larynx or trachea NOS
Fracture of tarsal bone(s), unspecified|Fracture of tarsal bone, unspecified
Fracture;finger(s)|Fracture;finger
Grommet(s)|Grommet
G(s), alpha Subunit|G(s), alpha Subunit
G(s)alpha|G(s)alpha
Histone H1(s)|Histone H1(s)
Identify performance problem(s) (e.g., knowledge deficit, skill deficit, motivational deficit), as needed|Identify performance problem (e.g., knowledge deficit, skill deficit, motivational deficit), as needed
Infant responds to parent(s)' cues|Infant responds to parent' cues
Injection of corpora cavernosa with pharmacologic agent(s) (eg, papaverine, phentolamine)|Injection of corpora cavernosa with pharmacologic agent (eg, papaverine, phentolamine)
Inj/muscl(s)+tendon(s) of ant muscle group at lower leg lev|Inj/muscl+tendon of ant muscle group at lower leg lev
Inj/muscl(s)+tendon(s)/peroneal musc gp at lower leg level|Inj/muscl+tendon/peroneal musc gp at lower leg level
Injury of blood vessel(s) of thumb|Injury of blood vessel of thumb
Injury;tendon(s);acute|Injury;tendon;acute
Inquires of partner(s)' STD status before sexual activity|Inquires of partner' STD status before sexual activity
J(s)(b) ANTIBODY|J(s)(b) ANTIBODY
Late effect of injury to nerve root(s), spinal plexus(es), and other nerves of trunk|Late effect of injury to nerve root, spinal plexus, and other nerves of trunk
Leg(s) Ulcer(s)|Leg Ulcer
linea media de la base del craneo, incluyendo condilectomia occipital, mastoidectomia, reseccion de cuerpo(s) vertebral(es) C1-C3, descompresion de arteria vertebral, con o sin movilizacion|linea media de la base del craneo, incluyendo condilectomia occipital, mastoidectomia, reseccion de cuerpo vertebral C1-C3, descompresion de arteria vertebral, con o sin movilizacion
listers with epidermal loss due to burn (second degree) of toe(s) (nail)|listers with epidermal loss due to burn (second degree) of toe (nail)
Medical nutrition therapy; group (2 or more individual(s)), each 30 minutes|Medical nutrition therapy; group (2 or more individual), each 30 minutes
Medication(s)|Medication
Meningococcal polysaccharide vaccine (any group(s)), for subcutaneous or jet injection use|Meningococcal polysaccharide vaccine (any group), for subcutaneous or jet injection use
M.rho11(s)II|M.rho11(s)II
Multifetal pregnancy reduction(s) (MPR)|Multifetal pregnancy reduction (MPR)
Muscle(s) Cramp(s)|Muscle Cramp
Myeloid cell containing Auer rod(s) (cell)|Myeloid cell containing Auer rod (cell)
N1: Unilateral metastasis in lymph node(s) > 6 cm in greatest dimension, above supraclavicular fossa (finding)|N1: Unilateral metastasis in lymph node > 6 cm in greatest dimension, above supraclavicular fossa (finding)
Nail(s) Brittle|Nail Brittle
N(alpha)-benzoylarginineamide monohydrochloride, (s)-isomer|N(alpha)-benzoylarginineamide monohydrochloride, (s)-isomer
natoxin-a(s)|natoxin-a(s)
N-(N-((4-(2,3-dihydro-2-benzofuranyl)-1-(ethoxycarbonyl))butyl)-(s)-alanyl)-(s)-proline|N-(N-((4-(2,3-dihydro-2-benzofuranyl)-1-(ethoxycarbonyl))butyl)-(s)-alanyl)-(s)-proline
N-tert-butyl-1-(3(S)-(((2,6-dimethylphenoxy)acetyl)amino)-2(R)-hydroxy-4-phenylb|N-tert-butyl-1-(3(S)-(((2,6-dimethylphenoxy)acetyl)amino)-2(R)-hydroxy-4-phenylb
N-tert-butyl-1-(3(S)-(((2,6-dimethylphenoxy)acetyl)amino)-2(R)-hydroxy-4-phenylbutyl)-4(R)-(4-pyridinylthio)piperidine-2(s)-carboxamide|N-tert-butyl-1-(3(S)-(((2,6-dimethylphenoxy)acetyl)amino)-2(R)-hydroxy-4-phenylbutyl)-4(R)-(4-pyridinylthio)piperidine-2(s)-carboxamide
Open fracture of metacarpal bone(s) NOS|Open fracture of metacarpal bone NOS
Open fracture of rib(s) NOS|Open fracture of rib NOS
Open fracture of rib(s), unspecified|Open fracture of rib, unspecified
Open wound toe(s)-no complic.|Open wound toe-no complic.
Open wound toe(s)+tendon inv.|Open wound toe+tendon inv.
Open wound/toe(s)+damage/nail|Open wound/toe+damage/nail
Oth deformits/toe(s)(acqd)|Oth deformits/toe(acqd)
pen wound toe(s)+complication|pen wound toe+complication
Perform patient triage and initiate referral(s) <1>|Perform patient triage and initiate referral <1>
Poliovirus vaccine, (any type(s)) (OPV), live, for oral use|Poliovirus vaccine, (any type) (OPV), live, for oral use
Polyp(s), bladder|Polyp, bladder
Primary closed reduction #+internal fixation with screw(s)|Primary closed reduction #+internal fixation with screw
Primary open reduction of # dislocation+fixation+screw(s)|Primary open reduction of # dislocation+fixation+screw
Problem, relationship (with), parent(s)|Problem, relationship (with), parent
Problem;relationship (with);parent(s)|Problem;relationship (with);parent
Prostatectomy, retropubic radical, with or without nerve sparing; with lymph node biopsy(s) (limited pelvic lymphadenectomy)|Prostatectomy, retropubic radical, with or without nerve sparing; with lymph node biopsy (limited pelvic lymphadenectomy)
Pry opn red #+int fxn+screw(s)|Pry opn red #+int fxn+screw
Quadruplet pregnancy with fetal loss and retention of one or more fetus(es)|Quadruplet pregnancy with fetal loss and retention of one or more fetus
rho11(s)II C5-MTase|rho11(s)II C5-MTase
rho11(s)II methylase|rho11(s)II methylase
Ridged, nail(s)|Ridged, nail
Rigor(s)|Rigor
Rv opn red #+int fxn+screw(s)|Rv opn red #+int fxn+screw
Salmonella II 1,9,12:g,m,(s),t:(1,5,7):(z42) (organism)|Salmonella II 1,9,12:g,m,(s),t:(1,5,7):(z42) (organism)
Storage, (per year); embryo(s)|Storage, (per year); embryo
Superficial injury-foot/toe(s)|Superficial injury-foot/toe
Tenotomy, hip flexor(s), open (separate procedure)|Tenotomy, hip flexor, open (separate procedure)
Test, result(s), respiratory|Test, result, respiratory
Test;result(s);endocrine/metabolism|Test;result;endocrine/metabolism
Thoracotomy, major; with cyst(s) removal, with or without a pleural procedure|Thoracotomy, major; with cyst removal, with or without a pleural procedure
Tongue Laceration(s)|Tongue Laceration
Tonsil(s) Ulcer(s)|Tonsil Ulcer
Traumatic amputation of toe(s) (complete) (partial)|Traumatic amputation of toe (complete) (partial)
Triplet pregnancy with fetal loss and retention of one or more fetus (es)|Triplet pregnancy with fetal loss and retention of one or more fetus
Triplet pregnancy with fetal loss and retention of one or more fetus (es), antepartum condition or complication|Triplet pregnancy with fetal loss and retention of one or more fetus, antepartum condition or complication
Triplet pregnancy with fetal loss and retention of one or more fetus(es)|Triplet pregnancy with fetal loss and retention of one or more fetus
Triplet pregnancy with fetal loss and retention of one or more fetus(es), antepartum condition or complication|Triplet pregnancy with fetal loss and retention of one or more fetus, antepartum condition or complication
Wrist(s) and/or Hand(s)|Wrist and/or Hand
[X]Inj oth musc(s)/tend(s) of post musc group, low leg lev|[X]Inj oth musc/tend of post musc group, low leg lev
[X]Oth deformits/toe(s)(acqd)|[X]Oth deformits/toe(acqd)
[X]Oth hammer toe(s)(acquired)|[X]Oth hammer toe(acquired)
Donor pneumonectomy(ies) with preparation and maintenance of allograft (cadaver)|Donor pneumonectomy with preparation and maintenance of allograft (cadaver)
Orthotic(s) fitting and training, upper extremity(ies), lower extremity(ies), and/or trunk, each 15 minutes|Orthotic fitting and training, upper extremity, lower extremity, and/or trunk, each 15 minutes