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
Ending Digit Splitter
This splitter is used to process a split by adding a space before the ending digits if a token ends with digits.
Split a token in front of ending digits.
File Name | Input | Output |
---|---|---|
26.txt | questions.1) | questions. 1) |
26.txt | hereditary2) | hereditary 2) |
26.txt | disease3) | disease 3) |
14849.txt | shuntfrom2007. | shuntfrom 2007. |
73.txt | jk5 | jk 5 |
Matchers | ||
---|---|---|
Matcher | Regular Expression | Examples |
Ends with digit(s) | ^(.*)([a-zA-Z\\.]+)(\\d+)$ |
|
Filters (Exceptions) | ||
---|---|---|
Filter (Exception) | Regular Expression | Examples |
1. [Upper]+ before ending digit | ^([A-Z]+)(\\d+)$ |
|
2. [char]+, [-], [char]+ before ending digit | ^([a-zA-Z]+)-([a-zA-Z]+)(\\d+)$ |
|
3. [Greek alphabet] before ending digit | ^(.*)(alpha|beta|gamma|delta|epsilon)(\\d)$ |
|
4. [char] before ending digit | ^([a-zA-Z])(\\d+)$ |
|