Hi All,
I want to find the year's in a line. For this i need to find the first year and then i need to collect two words before and after of the year and so on for all year. How can i do that?
For example, Input
Hobbs, F. 2005. Examining American Composition: 1990 and 2000. U.S. Census Bureau, Census 2000 Special Reports, CENSR-24. I.S. Government Printing Office, Washington, DC.
Output i required
Hobbs, F. 2005. Examining American American Composition: 1990 and 2000. 1990 and 2000. U.S. Census
In reply to find one by one occurances by Selvakumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |