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
Post a Comment