Need help extracting values from several lists
Given the following html, how would I get the numbers in parenthesis into an array?
So I'd like my array to be {404493,404504}
- <div class="current-config popup-panel featherlight-inner" >
- <div class="dyn-conf-content">
- <h3 class="left-align production-color">Current Configuration</h3>
- <p class="dimensions cc-highlight">
- <span class="config-label">W × D × H</span>
- <span class="dim-inches">32.9" × 34.6" × 48.4"</span><br>
- <span class="dim-metric">836mm × 879mm × 1229mm</span></p>
- <hr>
- <div class="selected-options">
- <div id="cf-list-step-1" class="ycfeatures config-label">
- Main Unit
- <ul>
- <li>Pro C5100s (404493)</li>
- </ul>
- </div>
- <div id="cf-list-step-2" class="ycfeatures config-label" style="display: none;">
- Additional Paper Sources
- <ul>
- </ul>
- </div>
- <div id="cf-list-step-3" class="ycfeatures config-label">
- Controller Options
- <ul>
- <li>Fiery Color Controller E-42B (404504)</li>
- </ul>
- </div>
- </div>
- </div>
- </div>
The div with the class "current-config popup-panel featherlight-inner" is unique in the dom.