I have the below regex expression and I'm trying to break it into two parts, there might not always be the the two parts though.
Section Level: Very Low. Type: Animal.
I'm using the below to break it by characters but I need to be able to break by the string, identify the level and type so they can be returned into two separate database columns. For example I need to check the string and see if there is anything matching 'Section Level: {text}.' and insert it into the level column in the database and the same for type, I need to check the string for 'Type: {text}.' and insert it into a type column.
(?<=\:)(.*?)(?=\.)
I've been able to get the first piece out using (\w*)(.*?)(?=\.) but still can't for the life of me get the second part.