Regular Expression Search in Dreamweaver
During working on any static site or existing site a lot of times we face a problem that there should be search using wild characters or regular expressions.
For example I have a site at my local where a lot of links:
<a href=”../category/article-title-keyword1.html”>
We need to search all links which are in this category and need to [...]
Remove extra Tags from Database Records
In my database I have many records in which there are html tags and html comments. When I pick description of that data I sometimes got broken html tags as I pick limited characters from that record.
I tried strip_tags function and get rid of problem up to some extent.
<?php
$text = ‘<p>Test content will go here.</p><!– [...]
