I am trying to create an expression so that the first letter of each bullet point is always a capital letter. I am importing copy from different writers and some will treat bullets in the same manner as text following a colon or a semi-colon (i.e. beginning with a lower case letter). Our style guide calls for a capital for which I have created a character stylesheet. The expression I thought would be quite simple ^ (the first lower case letter at the beginning of a paragraph). The problem I am having is that when I use a soft return the first letter of the following line becomes a capital. Clearly ^ doesn’t distinguish between the end of paragraphs and forced returns. I also would like to exclude “http” and “www” from the taking the Capitals character style sheet where they appear at the beginning of a bulleted paragraph.
I have had this expression ” (?<!)^ ” suggested as a solution but it doesn’t seem to work.
Below is an example of what I am getting followed by how it is turning out with my solution followed by how I want it to be fixed (I have included the invisibles at the end of the lines)
COPY AS IT ARRIVES
• economic abuse – complete control of all monies, no access to bank accounts, providing only an inadequate ‘allowance’, using any wages earned by the victim for household expenses.^p
• http://www.legalaid.vic.gov.au^n
Women’s Legal Service Victoria^n
9642 0877 / 1800 133 302^p
USING MY GREP SOLUTION
• Economic abuse – complete control of all monies, ^n
No access to bank accounts, providing only an inadequate ‘allowance’, using any wages earned by the victim for household expenses.^p
• http://Www.legalaid.vic.gov.au^n
Women’s Legal Service Victoria^n
9642 0877 / 1800 133 302^p
HOW I WOULD LIKE GREP TO SORT IT OUT FOR ME
• Economic abuse – complete control of all monies, ^n
no access to bank accounts, providing only an inadequate ‘allowance’, using any wages earned by the victim for household expenses.^p
• http://www.legalaid.vic.gov.au^n
Women’s Legal Service Victoria^n
9642 0877 / 1800 133 302^p
Thanks in advance.