I've got like 6 pages were i get both POST and GET data several times (PHP). I've now made a function that get's the data for me, so instead of typing:
i now type:
The problem i have is that i'm to lazy to replace each $_POST with gpost() (and $_GET with gget(). I know how to do that. But i need to remove the  braces aswell. Otherwise it'd look like this: gpost(['whatever']), not really what i want.
But looking at the find/replace window in dreamweaver i saw a checkbox labeled "Use regular expressions". Therefore I ask; can someone help me create a regular expression that replaces this:
The replace window looks like this:
EDIT: I now found a site, but it doesn't seem to work. Here's what i came up with now: trentmueller.com/blog/search-and-replace-wildcard-characters-in-dreamweaver.html
I get this error: unmatched ) in regular expression