I have HTML code like this:
<div class="inside">
<h2>Some text</h2>
Lorem Ipsum:<br />
[423A18K5][R68A18K5]
</div>
<div class="inside2">
<h2>Some other text</h2>
Lorem Ipsum:<br />
[9903A1K5][P095GR31]
</div>
What i need to do: i must select all codes between [ and ] with jQuery (and to pass them to ajax later). NOTE: Instead of [] i can use some other symbols, but i cant use HTML tags.
Do you have any sugestions?