[thelist] regular expressions in homesite or dreamweaver?
Gary McPherson
genyus at ingenyus.net
Thu Aug 21 23:56:36 CDT 2003
> <a href="#"
> onClick="openPop('../photos/pop/fealmvas.htm','display','scrol
> lbars=yes,width=550')">
>
> to, e.g.
>
> <a href="../photos/pop/fealmvas.htm"
> onClick="openPop('../photos/pop/fealmvas.htm','display','scrol
> lbars=yes,width=550')">
>
> Is this possible using regular expressions in homesite or
> dreamweaver? I have never been able to get the hang of regular
> expressions.
Search for:
href="#"\sonClick="openPop\('(.*)','display','scrollbars=yes,width=550'\
)"
Replace with: href="$1"
onclick="openPop('$1','display','scrollbars=yes,width=550');return
false;"
HTH,
Gary
More information about the thelist
mailing list