Login.htm
If (Request. Cookies ("SavedLogin"). HasKeys ){Response. Redirect ("checklogin. asp? Cookie = 1 ")}%>
Wonderful spring breeze login page
I want to log on and dance with the windEmail: Password: To save the logon
Chat.html
Simple chat with wonderful spring breeze
Chatopinions. asp Get your chat at Submitside : free script. Chatform. aspIf Request. Form ("Opinion") = "" thenShowForm ()ElseIf Session ("AA") = ""
Set rs = Server. CreateObject ("ADODB. recordset ")
SQL = "Select * from UserInfo ORDER BY iPerience DESC"
Rs. Open SQL, ConnStr, 1, 1
RegUser = rs. RecordCount
IDa = 1
IDb = 2
%>
Heroes of the Forum
Ranking
1. Balanced group/recursive match (? 'Group') Name the content corresponding to the group and press the stack count;(? '-Group') returns the corresponding content named 'group' to the stack count.(?!) Assertion with Zero Width and negative direction,
Code:Copy codeThe Code is as follows:// Program purpose, remove the domain name in the image pathVar str = ' ';Var reg1 =/(\ Str. match (reg1 );Alert (str. replace (RegExp. $4 ,''); This method is applicable when there is only one URL in the string,
The RegExp object and String object in JavaScript define a method that uses regular expressions to execute powerful pattern matching and text retrieval and replacement functions.In JavaScript, regular expressions are represented by a RegExp object.
Vbs: converts the color of a specified character in a text string to a red regular expression. Function c (Tstr, Word)Dim reSet re = new RegExpRe. IgnoreCase = TrueRe. Global = TrueRe. pattern = "(" & Word &")"C = re. replace (Tstr, " $1 ")End
You can divide pub_form_year_01 into 'pub _ from_year 'and '01', or obtain the 'pub _ from_year' field,It is difficult to separate the last '_', right? I cannot.So I want to extract pub_from_year and use backward reference ,(? = Exp), I wrote this '/
The technical content is not high, mainly because regular expressions are often used, and debugging on the code is too troublesome. It is faster to do this ~~~ Send it to friends who like regular expressions ~~~I am dizzy and can't find several
The following code is taken from the source code of a webpage:OnClick = "MM_openBrWindow ('../photo/nlife/sfc/pages/o'connors_jpg.htm', 'rd', 'width = 456, height = 100 ')"OnClick = "MM_openBrWindow ('../photo/nlife/sfc/pages/Trad 'r sam_jpg.htm',
Today, when I changed a B2B e-commerce system, I found ASP regular expressions. Although I have been using ASP for a long time, I have never used regular expressions. This system has a good regular function, let's see for yourself.Copy codeThe Code
Copy codeThe Code is as follows:Regular ExpressionA regular expression is a combination of text description characters. Using them in code search helps describe some concepts, such as "rows starting with 'var'" and "attribute values containing
Save it as a. asp file and execute it. It's nice to use it when you use ASPHTTP to capture the content. Of course you need to improve it yourself.Option ExplicitFunction stripHTML (strHTML)'Strips the HTML tags from strHTMLDim objRegExp,
The code example is as follows:Option Explicit
Function stripHTML (strHTML)'Strips the HTML tags from strHTML
Dim objRegExp, strOutputSet objRegExp = New Regexp
ObjRegExp. IgnoreCase = TrueObjRegExp. Global = TrueObjRegExp. Pattern = " "
'Replace
\ D represents what, {, 5} represents what, \ [represents what ......, Here I just want to remind you that, to avoid conflicts with reverse references, add 0 after \ nn to represent the ASCII code of octal, that is, when \ 40 represents the ASCII
Regular Expressions matching Chinese characters:Copy codeThe Code is as follows:[\ U4e00-\ u9fa5]Match double-byte characters (including Chinese characters ):Copy codeThe Code is as follows:[^ \ X00-\ xff]Application: Calculate the length of a
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