Find in Files, return whole line vs just the search string

Find in Files, return whole line vs just the search string

1

    6:34 - Oct 31#1

    Normally Find in Files returns the whole line containing the search string. Is there a setting to make Find in Files return just the search string?

    For example, when searching a group of html files for <p class="\w+" I'd like to get back just a list of the opening tags with the classes, not a list of full paragraphs that all start with a <p class="someclass" tag. 

    6,685586
    Grand MasterGrand Master
    6,685586

      18:19 - Oct 31#2

      Open Advanced - Settings or Configuration - Search - Find output format. Here can be configured the output of Find in Files. Click on button Help to get information about the available variables. There is unfortunately no one for matched string(s).

      It is possible to run Find in Files with Results to edit window. There can be run a Perl regular expression replace all from top of the results window with the search expression <p class="(\w+).*$ and the replace expression \1 to get just the class names of the paragraphs as long as there are not multiple paragraphs on same line in an HTML file.

      It would be also possible using a project with all the HTML files as project files and configure in the syntax highlighting wordfile for HTML the Perl regular expression  <p class="(\w+). Opening the Function List and enabling in context menu the option List for all project files would result in getting all the paragraph classes listed in the Function List view. A double click on a class name opens the file and positions the text cursor on the line with the paragraph class. Please let me know if you need detailed instructions how to setup an HTML (website) project in UltraEdit and how to customize the function list feature to get displayed in the Function List view the data of interest from just active or all HTML files of the project.
      Best regards from an UC/UE/UES for Windows user from Austria