I found the following code from this question, regex to match everything until it finds 2 upper case characters?
^.*(?=\b(?:[^\sA-Z]*[A-Z]){2})
however my question is slightly different then the OP
I want to match everything up to the upper case in the following string, the rules should match everything until it negative lookaround finds 2 uppercase characters and then match everything inbetween from the 1st uppercase until the start of the 2nd uppercase character
so I Want (continue from op example)
Http is an HttpHeader
is to get Http is an Http
instead of Http is an
which OP is getting in posted thread