Sometimes we need to get values through the query string in the URL on the browser address bar. But the question is how to get these query string values in JavaScript or jquery because we need them on the client-side.
Tag » Regular Expression
Validate email address in jQuery or JavaScript
Form validation is essential part of programming. We can validate email address in jQuery or JavaScript using regular expression. In this article, both are explained. You can check the live demo as well.
Using PHP to extract img src alt and title from HTML
Using PHP to extract img src alt and title from HTML is quite easy and this can be done in two ways. Either using PHP regular expression matching or using the Document Object Model (DOM).
Here is a DOMDocument/DOMXPath based example to extract img src alt and title from HTML using PHP.