Shravan Vishwanathan
asked on
Match all lines matching a string in Notepad++
I have a string which I need to find in all XML files. I am using notepad ++.
String:
Example:
ST2 can be anywhere places in the APPLIC example:
APPLIC="ABC, "ST2", "RT4"
APPLIC="ST2", "GHT", "HYT"
APPLIC="HYT", "ST2"
String:
<PARA APPLIC="ST2, LT5"><XREFEXT DATAREF="LRCS000005678" PARTTYPE="FIGURE" XIDTYPE="GRAPHIC"/></PARA>
I need to find all files which contain 'ST2' in PARA APPLIC and PARA element should be followed by XREFXT element with XIDTYPE="GRAPHIC"Example:
<PARA APPLIC="XXX,"ST2","XXX"> followed by <XREFXT DATAREF="XXXXXXXXXXX" PARTTYPE="FIGURE" XIDTYPE="GRAPHIC"/></PARA>
'X' represents wild character.ST2 can be anywhere places in the APPLIC example:
APPLIC="ABC, "ST2", "RT4"
APPLIC="ST2", "GHT", "HYT"
APPLIC="HYT", "ST2"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A solution