mercredi 20 mars 2019

How to find a string using regular expression from a string separated by delimeter?

I have the following lines :

AppTier>QAServer4>TOMCAT>Java123
WebTier>DevServer35>CMON>Python1
AppTier>QAServer50>JAVA

I want a regular expression to find the 3rd element where delimiter is '>'.

Expected Output :

TOMCAT
CMON
JAVA

Aucun commentaire:

Enregistrer un commentaire