First: Use the string SEARCH method
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = gb2312 "/> <title> method of replacing the fourth segment of the IP address with an asterisk </title> </pead> <body> </body> <ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
Method 2: Array
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = gb2312 "/> <title> method of replacing the fourth segment of the IP address with an asterisk </title> </pead> <body> <ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]