Answer by nxnev for How to grep an XML tag and get only the value inside the...
This works for me: grep -P -o -e '(?<=name=").*?(?=")'
View ArticleHow to grep an XML tag and get only the value inside the quotes after it?
I'm trying to get these values from the XML format below: USA GERMANY <country name="USA" id="TEST1" password="123" /> <country name="GERMANY" id="TEST2" password="456" /> I was checking...
View Article
More Pages to Explore .....