You could split your string into words and examine each word.
If the word contains four connected digits, print the previous two words, the examined word itself, and the following two words.
In reply to Re: find one by one occurances
by linuxer
in thread find one by one occurances
by Selvakumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |