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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -