Expressions and str_replace

I looked at this from a far difficult angle, while the answer was so simple. For anyone in a similar situation:

$('<span class="form-field-checkbox"></span>').insertAfter('input:checkbox,input:radio');