def extractData(data, textSearched):
    """ 
    USAGE: extractData(['orange','apple','apple1','banana'],'apple') 
    """
    index_page = []
    for i in range(0, len(data), 1):
        if textSearched in data[i]:
            index_page.append(data[i].strip())
    return index_page
