Skip to content

Take text from HTMLDisplayName #2

@markiewb

Description

@markiewb
private static String stripHtml( String text ) {
        if( null == text )
            return text;
        text = text.replaceAll( "<[^>]*>", "" ); //NOI18N
        text = text.replaceAll( " ", " " ); //NOI18N
        return text;
    }

Taken from https://blogs.oracle.com/netbeanstips/entry/customize_document_tabs_in_netbeans

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions