Hi Team,
Currently we are developing script to fetch tomact version & instances information from servers list.
1)Tomcat server path : /users/domains/tomcat/zz0003/zz0003_app/conf/tomcat.version
Would like to extract string zz0003_app (or) zz0003 (or) app from above line(1)
2) jdk version :/users/java/jdkx.x.x_xxx
Would like to extract string jdkx.x.x_xxx from above line (2)
tried couple of ways to extract string using regex_search/regex_findall but not succeeded. Could you please suggest here? Thanks .
Regards
Heman Malve