I have a database utility that will let me search for strings. It says it can use "Regular Expressions" -- something that I am not really familiar with.
I have a website with many webpages and images. I am using this utility (it's NOT phpmyadmin) to search the database and remove all html references to the images height, width and border size.
So I have tons of image sizes with various widths and heights and borders with different pixels sizes in the html. Example:
<img height="251" width="783" border="5"
that I need to change to
<img height="" width="" border=""
Since the site has images with various heights and widths and various border sizes, I am looking for a "regular expression" wild card that I can use in my search that will let me change everything no matter what the height, width and border sizes.
Not knowing how regular expressions wild cards work, the below is an example where the * needs to be replaced by a wild card regular expression (again I am probably not using correct syntax with regular expressions, but I assume you get the idea of what I mean:
I need to search for
<img height="*" width="*" border="*"
Once I get the above correct, my utility will take care of the replacement part.
BTW I also see this in the utility's documentation
When the Regular Expressions option is checked, you will also be able to search in UTF-8 mode. This can help you when using special characters or certain character sets.