Regular Expression Practice Test page

Source: Internet
Author: User
Tags expression regular expression
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>
&LT;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>
&LT;TD height= "1" ></td>
</tr>
</table>
<table width= "722" border= "0" cellpadding= "0" cellspacing= "1" class= "table" >
<tr>
&LT;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>
&LT;TD height= "1" ></td>
</tr>
</table>
<table width= "722" border= "0" cellpadding= "0" cellspacing= "0" class= "table" >
<tr>
&LT;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>
&LT;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>
&LT;TD height=&



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.