note
The Perlman
One regex for both would be very complicated. But two regexes almost trivial now.
<p>
First regex should transform in comma separated list: 65:1:2,3,4,18
<p>
Second regex should apply shown technique to condense lists to ranges: 65:1:2-4,18
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-785112">
- Ron
</div></div>
11133054
11133089