Find all the Numbers Using Regular Expression 02/16/2026
This code opens a text file and uses regular expression to find all the number and puts them in a list to get the sum.
Author: Admin
Language:
Python
Tags:
python
open
file
sum
regular
expression
Read More
User-defined functions 07/08/2023
User-defined function are used to preform task in PHP code like saving a user's form input to a database.
PHP Switch Statement 01/09/2022
Use the switch statement to select one of many blocks of code to be executed.
Example of .htaccess for PHP 10/06/2021
A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, used for configuration of website-access issues, such as URL redirection, URL shortening, access control (for different web pages and files), and more. The 'dot' (period or full stop) before the file name makes it a hidden file in Unix-based environments.
Author: Admin
Language:
HTTP
Tags:
html
.htaccess
php
Read More
Escaping from HTML 05/16/2021
Escaping from HTML in PHP
Author: Guitarman
Language:
PHP
Tags:
Read More
Regular Expressions In VB.Net 05/01/2021
This is a function I wrote to check for a valid email address.
Author: Guitarman
Language:
Visual Basic .NET
Tags:
Read More
Evaluate Math Expression 03/29/2021
Evaluate a math expression entered in a text box.
Author: Admin
Language:
Visual Basic .NET
Tags:
Read More
If you would like to share your code on HS Codebank you can submit it by registering and clicking the submit article button on this page.
LoginRegisterContact Us