JSFiddle - React, Tailwind, and code Playground
by wirey00
HTML
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<input name="skus[0].skuattributeoptions[1].sao_option_id" value="559" />
<input name="skus[0].skuattributeoptions[1].sao_option_id" value="560" />
<input name="skus[0].skuattributeoptions[1].sao_option_id" value="562" />
JavaScript
var inputs = $('input');
console.log('inputs',inputs);
console.log('inputs.filter() #1 ',inputs.filter('[name="skus[0].skuattributeoptions[1].sao_option_id'));
console.log('inputs.filter() #2 ',inputs.filter('[name*="skuattributeoptions[1].sao_option_id"]'));
console.log($('[name="skus[0].skuattributeoptions[1].sao_option_id"]').filter('[name="skus[0].skuattributeoptions[1].sao_option_id"]'));