HS Banner
HS Codebank Articles
Page 1 of 1

Find all the Numbers Using Regular Expression 02/16/2026

Description:

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

Description:

User-defined function are used to preform task in PHP code like saving a user's form input to a database.

Author: Admin
Language: PHP
Tags: functions php
Read More

Example of .htaccess for PHP 10/06/2021

Description:

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



Regular Expressions In VB.Net 05/01/2021

Description:

This is a function I wrote to check for a valid email address.

Author: Guitarman
Language: Visual Basic .NET
Tags:
Read More

PHP Filesystem Security 04/03/2021

Description:

Anyone learning PHP should read this and the rest of the security section in the PHP manual.

Author: Admin
Language: PHP
Tags:
Read More

Submit Your Code

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

List of Supported Languages
Apache Config
Bash
C
C#
C++
CoffeeScript
CSS
Diff
GO
HTML, XML
HTTP
Java
JavaScript
JSON
Kotlin
Less
Lua
Makefile
Markdown
Nginx Config
NSIS
Objective-C
Perl
PHP
Plain Text
PowerShell
Properties
Python
Python REPL
R
Ruby
Rust
SCSS
Shell Session
SQL
Swift
TOML, also INI
TypeScript
VB Script
Visual Basic .NET
YAML
Request New Language