|
|
|
Regular Expression for pair or single html tag
0
This is the perfect regular expression for extracting a pair of html tags. For details, please seeThe regular expression for selecting a pair of HTML tag
2
Cloudgen
The regular expression include the following:
Local part include (at least 2 characters):
1. Uppercase and lowercase English letters (a-z, A-Z)
2. Digits 0 through 9
3. Characters ! # $ % & ' * + - / = ? ^ _ ` { | } ~
4. Character . (dot) provided that it is not the first or last character, and provided also that it does not appear two or more times consecutively.
Top Level Domains include:
1. country-code top-level domains (ISO 3166)
2. generic top-level domains
3. sponsored top-level domains
4. infrastructure top-level domain
Detailed Discussion will be found: The regular expression for checking email
Local part include (at least 2 characters):
1. Uppercase and lowercase English letters (a-z, A-Z)
2. Digits 0 through 9
3. Characters ! # $ % & ' * + - / = ? ^ _ ` { | } ~
4. Character . (dot) provided that it is not the first or last character, and provided also that it does not appear two or more times consecutively.
Top Level Domains include:
1. country-code top-level domains (ISO 3166)
2. generic top-level domains
3. sponsored top-level domains
4. infrastructure top-level domain
Detailed Discussion will be found: The regular expression for checking email
2
Regular expression for html comment using lookforward. Requires RegExp engine supporting lookforward.
6
check title ; ) unfortunately cannot remember the name(s) of the author(s) , so the courtesy goes to them ...
4
These are some prototype methods to handle class names in html elements. As you all should know, a html element can have more than one class name.
This is part of my dom handling toolkit. Check it out and use it at will.
Cheers
This is part of my dom handling toolkit. Check it out and use it at will.
Cheers
5
This code allows you to set the "opcity" style attribute on a element without affecting it's content.
Just call the function for a specific element or to all elements of a given classname after the document loads.
Examples and advanced usage here...
Just call the function for a specific element or to all elements of a given classname after the document loads.
Examples and advanced usage here...
6
Simple set of functions for capturing and manipulating the className member of an HTMLElement
5
Reg exp for finding url and email adresses. i'm using this from any projects of me. they working
25
This is a PHP and JavaScript Image gallery that I created. There are 2 uses for this.
1.) You can save it as index.php and place in a folder containing images and it will display the images in that folder.
Example:
place index.php in images/folder
http://yoursite.com/images/folder/
This will display all images in that folder
2.) Pass in the path to the folder to display in the url
Example:
Save as imagegallery.php
http://yoursite.com/imagegallery.php?path=images/folde
1.) You can save it as index.php and place in a folder containing images and it will display the images in that folder.
Example:
place index.php in images/folder
http://yoursite.com/images/folder/
This will display all images in that folder
2.) Pass in the path to the folder to display in the url
Example:
Save as imagegallery.php
http://yoursite.com/imagegallery.php?path=images/folde







