You can edit regular expressions either be hand or you can right click, choose Open in Regular Expression Builder and have a full-fledged XML Schema Regular Expression builder to guide you in testing and constructing the pattern.