What Regex can strip e.g. "note:" and "firstName: " from the left of a string?
- by Edward Tanguay
I need to strip the "label" off the front of strings, e.g.
note: this is a note
needs to return:
note
and
this is a note
I've produced the following code example but am having trouble with the regexes.
What code do I need in the two ???????? areas below so that I get the desired results shown in the comments?
using System;
using…