in reply to Extract Sub String

if ($string =~/(.*?)\"_RVCT"/)
Why do you have the \" in your regex? Remove it! And while you are at it, also remove the other " in your regex (that is not part of your $string itself, but the delimiter for perl)

Replies are listed 'Best First'.
Re^2: Extract Sub String
by gvinu4u (Acolyte) on Jun 22, 2011 at 10:54 UTC
    Thanks a lot I did exactly what you told