I'm trying to match strings that appear either beetween : and ; or between : and end of string
For example
text: extract this; text: also extract this
I'm using expression (?<=:).*?(?=;)
which captures the first one but can't figure out how to add between : and end of string