I have text like this
a b:_c
a:_c
The regex that I am using is /:(.*)/g
, but it also captures ':_'
I want to achieve--> c
What I've got--> :_c
How do I exclude them?
P.S.: replaced space with underscore, for easy understanding.
EDIT: I want to capture everything behind ': '
EDIT2: here is regexr with text, as u can see, it also captures ': '