how can i use wildcard selector on my jquery code

how can i use wildcard selector on my jquery code

I have jquery :
<script>
$('div:not(#post-body-xxxxxxxxx)').hide(); // hide everything except id="post-body-xxxxxxxxxx"
$('#post-body-xxxxxxxxxx').appendTo('body'); // move id="post-body-xxxxxxxxx" up to the body
</script>

I want use wildcard selector on xxxxxxxxxx .
How can it works with jquery..