I have a huge file that contains several lines. How do I use regular expression to match the one I want. let's say the file is like this
perlmonks 1
perlmonks(1) 2
perlmonks(perl) 3
'perlmonks (67) 4
..... ... and so on... Let's say I just want to print
1
3
4 (skiping that perlmonks part
I just wanted to print the numbers I want on the right side. Thankx