Ever have a html code, or something in a asp or php code that needed to be changed however the expression changes just enough that find and replace won’t work unless there is a wildcard feature? Well there is. I didn’t know what it was until recently when I had to change something on a project. Below is the example.
Find
jason.php?id=7
jason.php?id=9
jason.php?id=10
Replace with
jason.php
Find: check off “regular expressions” and put in the following, jason.php[^"]*
[^"]* = wildcard
Leave a Reply