and I want to extract only the variable names i.e.(book_num,cube_no) in a another variable and I am using regex for this..but its not working ..can u please help me out..My regex is$var = ".declare book_num a13"; $var = ".declare cube_no 9999999.999";
but its not working...$var =~ s/^(\.\w+\s+)(\w+)(\s+.)/$2/g;
In reply to Extract the variable by denzil_cactus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |