def find_end(s):
    """
    Given a string, s, find the position of the last character which is not a gap "-" hyphen.

    :param s: String to search for the last non gap character in

    :return: position of last non-gap character
    """
    import re
    s = s[::-1]
    s = s.upper()
    end = len(s) - re.search('[^-]', s).start()
    return end
