It was almost all about regular expressions, so I got this test practice page at the time. Save the following code as an HTML file and use IE to open it:
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en"
"Http://www.w3.org/TR/html4/loose.dtd" >
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<title> Regular Expression Test </title>
<style type= "Text/css" >
<!--
TD {
Font-family: "The song Body";
font-size:12px;
Color: #666666;
Text-decoration:none;
}
Input {
Font-family: "The song Body";
font-size:12px;
Color: #666666;
Text-decoration:none;
border:1px solid #000000;
height:18px;
}
TEXTAREA {
Font-family: "The song Body";
border:1px solid #333333;
Word-spacing:inherit
}
. Table {
Font-family: "The song Body";
font-size:12px;
border:1px solid #000000;
White-space:normal;
table-layout:fixed;
Word-break:break-all;
Word-wrap:break-word;
display:table;
}
. checkbox {
border:1px dotted #CCCCCC;
}
-->
</style>
<body>
<table width= "100%" height= "306" border= "0" cellpadding= "0" cellspacing= "0" >
<tr>
<TD valign= "Top" ><div align= "center" >
<table width= "border=" 0 "cellspacing=" 0 "cellpadding=" 0 ">
<tr>
<td><div align= "center" >
<textarea name= "InputBox" cols= "rows=" id= "InputBox" ></textarea>
</div></td>
</tr>
</table>
<table width= "border=" 0 "cellspacing=" 0 "cellpadding=" 0 ">
<tr>
<TD height= "1" ></td>
</tr>
</table>
<table width= "722" border= "0" cellpadding= "0" cellspacing= "1" class= "table" >
<tr>
<TD height= bgcolor= "#F2F2F2" ><div align= "center" > Regular expression:
<input name= "Regexpbox" type= "text" id= "Regexpbox" size= ">"
</div></td>
</tr>
</table>
<table width= "border=" 0 "cellspacing=" 0 "cellpadding=" 0 ">
<tr>
<TD height= "1" ></td>
</tr>
</table>
<table width= "722" border= "0" cellpadding= "0" cellspacing= "0" class= "table" >
<tr>
<TD width= "580" height= "bgcolor=" #F2F2F2 "><div align=" center ">
<input name= "Singleline" type= "checkbox" class= "checkbox" value= "1" >
<span title= "will Change (.) Meaning to make it contain all characters "> Single mode lookup </span>
<input name= "IgnoreCase" type= "checkbox" class= "checkbox" value= "1" >
<span title= "case-insensitive case" > case-insensitive </span>
<input name= "Global" type= "checkbox" class= "checkbox" value= "1" >
<span title= "Find all available matches" > Global mode Lookup </span>
<input name= "showsub" type= "checkbox" class= "checkbox" value= "1" >
<span title= "only displayed in () the Recordset" > Show only child Recordset results </span>
</div></td>
<TD width= "140" bgcolor= "#F2F2F2" ><input name= "btnsearch" type= "button" id= "btnsearch" value= "Search" onclick= " Vbscript:searchregexp () "></td>
</tr>
</table>
<table width= "border=" 0 "cellspacing=" 0 "cellpadding=" 0 ">
<tr>
<TD height=&