
    Design a function for the school's essay grading system that identifies and removes informal writing patterns by eliminating all lowercase word segments from student submissions, leaving only properly capitalized text for assessment. The function should process the entire essay text as a single input and return a cleaned version containing only the properly capitalized portions.
    

    
import re

def remove_lowercase(str1):
    """
    Design a function for the school's essay grading system that identifies and removes informal writing patterns by eliminating all lowercase word segments from student submissions, leaving only properly capitalized text for assessment. The function should process the entire essay text as a single input and return a cleaned version containing only the properly capitalized portions.
    

    """
import re

def remove_lowercase(str1):
    """
    Design a function for the school's essay grading system that identifies and removes informal writing patterns by eliminating all lowercase word segments from student submissions, leaving only properly capitalized text for assessment. The function should process the entire essay text as a single input and return a cleaned version containing only the properly capitalized portions.
    

    """
    return re.sub('[a-z]', '', str1)