J
Jayanth S Vasisht
Hello,
I am trying to use Regex for some of my scripts. My requirements is as
follows,
I am trying to process the output of a command from Rational Clearcase. The
output I get is something like this
/main/1a_br_1/tmp_fix_2.2.0/14
From this, I would like to get the number after the last "/", i.e 14. It is
fixed, that after the last "/", there will be digits. Any ideas, how I could
achieve this by using regex.
Thanks,
Jayanth
~~~~~
I am trying to use Regex for some of my scripts. My requirements is as
follows,
I am trying to process the output of a command from Rational Clearcase. The
output I get is something like this
/main/1a_br_1/tmp_fix_2.2.0/14
From this, I would like to get the number after the last "/", i.e 14. It is
fixed, that after the last "/", there will be digits. Any ideas, how I could
achieve this by using regex.
Thanks,
Jayanth
~~~~~