> > To match the entire class/component name i suggest > > ^F3(?:_[A-Z][A-Za-z0-9]+)+$ > > because every class name must start with F3_. In addition to the CGL the RegEx only matches (sub)names with 2 chars. > > ^F3(?:_[A-Z][A-Za-z0-9]+)+$ Oops. The last line should be ^F3(?:_[A-Z][A-Za-z0-9]*)+$