from the following strings:
"details.php?news=13&action=main&menu_type=&option=single&news_id=4792&pub_no=50"
Is this possible in String
str.contains(strcase)
where strcase="details.php"
, "news_id"
can both be checked at the same time.
Not like: str.contains("details.php")&&str.contains("news_id")
.
both cases should be taken to the strcase="details.php ** news_id"
Like this statement :
str.replaceAll("\\<[^>]*>","");
can strip out tag "<?>"
.