html - How to make large regex patterns in Java? -


i'm trying parse(steal) lot of information html page. , lot of information in blocks. like: username: 1.age 2.gender 3.country etc. it's large block , therefore regex pattern huge. of regex development tools have single line pattern, , textbox text. makes developing these kind of large patterns impossible. suppose develop large regex patterns or avoid them?

html pages valid dom strucure. better use dom parser instead of regex desired info. can explore jsoup : java html parser.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

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