I have a string below like this:
<ReportFilters><Index>data_dictionary</Index><Type>DataDictionary</Type><Field>category</Field><Count>30</Count></ReportFilters><Dialogs><Dialog filterField="category" height="400" left="45" resize="true" top="50" width="700">dictionary_dialog4</Dialog></Dialogs>
how can i get substring dictionary_dialog4 from above mentioned string using sed or any other operation, the string is in variable not in file
Thanks, Shiva.