I have this input:
{http://sdfgdf.dfg.dfg.dfg#value1 : http://sdfgdf.dfg.dfg.dfg#value2}
and I would like to combine only the value1 with the first URL. I thought below regexp:
[^
but this corresponds to "value1:"
How can I express "match up to \ s :, not including this pattern?
source
share