I want to either use a program or write a perl program to put a simple search function on my website. I want to read all html files in all directories that reside under the main directory. I want to be able to count the occurences of a user entered string that are in each file. Does anyone know how to code Perl to:
1. Loop through all files in all directories and read their contents.
2. Count the occurances of a given string in a file.
Email validation in proper way is very important validation required in any web pages.
This code is self explainable except that Regular Expression which I used for pattern matching.
I originally published as a thread on my website : http://www…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface. I made a script to download the Alert Log, look for errors, and email me the trace files. In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions.
Consider email address RFCs:
Look at HTML5 form input element (with type=email) regex pattern: