JonnyQuy Posted January 13, 2018 Posted January 13, 2018 I want to get all the strings of a code, please help me thanks <p><noscript><img alt="5 (1).jpg" src="https://vn-live.slatic.net/original/7e77479e988736bfe25fbfb66eba0fe7.jpg"/></noscript><img class="productlazyimage" alt="5 (1).jpg" data-original="https://vn-live.slatic.net/original/7e77479e988736bfe25fbfb66eba0fe7.jpg"/><noscript><img alt="6.jpg" src="https://vn-live.slatic.net/original/293bb51ca3cbba1c7e140f8ac4c39612.jpg"/></noscript><img class="productlazyimage" alt="6.jpg" data-original="https://vn-live.slatic.net/original/293bb51ca3cbba1c7e140f8ac4c39612.jpg"/></p> <h2><span><strong>User manual: </strong></span></h2> <ul> <<<<Begin <li>all text to get.</li> <li>all text to get.</li> <li>all text to get.</li> <li>all text to get.</li> <li>all text to get.</li> <li>all text to get</li> <li>all text to get.</li> <li>all text to get.</li> </ul> <<<Finish <p><noscript><img alt="7.jpg" src="https://vn-live.slatic.net/original/d9434065078d68d28c45a47ea69a2168.jpg"/></noscript><img class="productlazyimage" alt="7.jpg" data-original="https://vn-live.slatic.net/original/d9434065078d68d28c45a47ea69a2168.jpg"/><noscript><img alt="8.jpg" src="https://vn-live.slatic.net/original/82ec5a54462831bf180ad7ceea6441d3.jpg"/></noscript><img class="productlazyimage" alt="8.jpg" data-original="https://vn-live.slatic.net/original/82ec5a54462831bf180ad7ceea6441d3.jpg"/></p>
farouk12 Posted January 13, 2018 Posted January 13, 2018 (edited) You want string between <ul> and </ul> ? if so. Stringregexp($String,"(?s)<ul>.*?\n(.*?)<\/ul>",3) Edited January 13, 2018 by farouk12 JonnyQuy 1
JonnyQuy Posted January 13, 2018 Author Posted January 13, 2018 Thank you very much, I have done, I spent all day to find a way to solve this
mikell Posted January 13, 2018 Posted January 13, 2018 22 minutes ago, farouk12 said: You want string between <ul> and </ul> ? So what about _StringBetween ? farouk12 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now