html - jsoup search div with wild card? -


e- hi find divs named <div class=class-a... or <div class=class-b...

how search somthing class-* ? tried select :contains no success not sure of correct syntax should use.

thanks,

olivier

you can use css selector:

elements divs = document.select("div[class^=class-]"); 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -