This method resets the state of the object, as if it was freshly created. Namely, it unassigns the regular expression of this object.
public void Clear()