Hi,
I am newbee in perl development.I have recently started doing perl. I need to extract number from text file using regular expression. This nymber is lying somewhere in the big text file. Please help me how to write Regex for this or suggest me other convenient way to do this. I have paste one sentence from the content of my text file below. The number that i need to search is 12 in this sentence but this number will keep changing as my script will regenerate this file everytime.
Content of my file====>
Users of ClearQuest: (Total of 18 licenses issued; Total of 12 licenses in use). This sentense is lying somewhere in text file and I want to search number 12 and store it in a variable.
Please suggest me how do I do this.