javascript - Extract CSS Style From String in JAVA -


i have string in java not escaped contains css, javascript , html.

i need extract css string, need search start <style , finish </style> , start <link , finish >

any suggestions?

the regex might this. string result = searchtext.replaceall("<style>([^<]*)</style>", "$1"); should change text whats inside tag, modify tag


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -