Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

Lexical Tools

Strip punctuation

I. Lvg Command:

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

II. Test Cases:

St. John's|St Johns
-({[)}]_!@#%&*\:;"',.?/~+=<>$`^|
1.23 mg|123 mg
(703) 398-2341|703 3982341
ASCII punctuation: - ({[ )}] _ !@#%&*\:;"',.?/ ~+=<> $ `^|ASCII punctuation
non-ASCII punctuation: «´»÷ǀǃʹʺʼ˄ˆˈˋˍ˜̀́̂̂։׀׃٪٭‐‑‒–—―‖‗‘’‚‛“”≤≥〝〞|nonASCII punctuation «»ǀǃʹʺʼˆˈˋˍ̀́̂̂‘’‛“”
Guy|Guy
Browne|Browne
Harold Newton Cole|Harold Newton Cole
Jurkat|Jurkat
Chris|Chris
Divita|Divita
Finland|Finland
Oxford|Oxford
San Francisco|San Francisco
United States of America|United States of America
Fri Aug  7 12:29:41 EDT 1998|Fri Aug  7 122941 EDT 1998
8/7/98|8798
1.23 mg |123 mg
This is the end of a sentence.|This is the end of a sentence
St. John's was a wonderful town.|St Johns was a wonderful town
åæâãáàäêéèëîíìïôõóøòöûúùüýçñ|åæâãáàäêéèëîíìïôõóøòöûúùüýçñ
1H-Purine, 6-((1-methyl-4-nitro-1H-imidazol-5-yl)thio)-|1HPurine 61methyl4nitro1Himidazol5ylthio
Ethanone, 2-(6-(2-hydroxy-2-phenylethyl)-1-methyl-2-piperidinyl)-1-phenyl-, (2R-(2alpha,6alpha(S*)))-|Ethanone 262hydroxy2phenylethyl1methyl2piperidinyl1phenyl 2R2alpha6alphaS
breast-feeding|breastfeeding
breast feeding|breast feeding
1. Computer Room.|1 Computer Room
2. Conference Room.|2 Conference Room
3'Azido-3'deoxythymidine|3Azido3deoxythymidine