It is possibile to use this selector
$( "input[name~='man']" )
to identify any input in page which name contains the word 'man' but if i need to select, instead of a single word pattern i.e. 'man', a pattern containing two words like '(anything)checkbox(anything)man(anything)' so that
<input name="checkbox-foo-man">
<input name="checkbox-bar-man">
<input name="foo-checkbox-foo-man-foo">
gets selected? Possibily, impliying the right order that is 'checkbox' before 'man'