def getPlatformsByName(platformNames=['all'], mode=None, tags=[], excludePlatformNames=[]):
    """Method that recovers the names of the <Platforms> in a given list.

        :param platformNames:    List of strings containing the possible platforms.
        :param mode:    The mode of the search. The following can be chosen: ["phonefy", "usufy", "searchfy"].
        :param tags:    Just in case the method to select the candidates is a series of tags.
        :param excludePlatformNames:    List of strings to be excluded from the search.
        :return:    Array of <Platforms> classes.
    """

    allPlatformsList = getAllPlatformObjects(mode)

    platformList = []

    # Tags has priority over platform
    if "all" in platformNames and len(tags) == 0:
        # Last condition: checking if "all" has been provided
        for plat in allPlatformsList:
            if str(plat.platformName).lower() not in excludePlatformNames:
                platformList.append(plat)
        return platformList
    else:
        # going through the regexpList
        for name in platformNames:
            if name not in excludePlatformNames:
                for plat in allPlatformsList:
                    # Verifying if the parameter was provided
                    if name == str(plat.platformName).lower():
                        platformList.append(plat)
                        break

                    # We need to perform additional checks to verify the Wikipedia platforms, which are called with a single parameter
                    try:
                        if name == str(plat.parameterName).lower():
                            platformList.append(plat)
                            break
                    except:
                        pass

                    # Verifying if any of the platform tags match the original tag
                    for t in plat.tags:
                        if t in tags:
                            platformList.append(plat)
                            break
    # If the platformList is empty, we will return all
    if platformList == []:
        return allPlatformsList
    else:
        return platformList
Method that recovers the names of the <Platforms> in a given list.

        :param platformNames:    List of strings containing the possible platforms.
        :param mode:    The mode of the search. The following can be chosen: ["phonefy", "usufy", "searchfy"].
        :param tags:    Just in case the method to select the candidates is a series of tags.
        :param excludePlatformNames:    List of strings to be excluded from the search.
        :return:    Array of <Platforms> classes.