Extraction Issue with <span> within <p>


#1

I’m trying to extract the <p>, specifically the name, but it doesn’t seem extract anything:

    <div class="col-xs-6">
        <label>Address:</label>
        <p>
             Fname Lname <br>

                <span>
                    Address Line<br>
                    State&nbsp;Zip<br>
                    United States of America
                </span>
        </p>
    </div>

Thanks for any help!


#2

Does using relative extraction solve this issue, too? (As you described in Extract Relative - xpath can be used with storeText)

Another powerful option would be to use sourceExtract with some regular expression.


#3

I’ve tried Extract Relative, but it did not work either. Yea, I’m going to try see if sourceExtract will help. Any advice for the syntax?