Post Reply 
How to use $LST(Count) in Replace ?
Dec. 23, 2012, 05:26 PM (This post was last modified: Dec. 23, 2012 05:39 PM by JJoe.)
Post: #4
RE: How to use $LST(Count) in Replace ?
prxymouse Wrote:Weird.

Yeah. Please, post the filter and code tested against.

help Wrote:The $GET command can be used it in any replacement text to insert the current value of a global variable created by $SET (see above). This may even be within another $SET command. For example...

Match: <a * href=$AVQ(\1)$SET(LinkURL=>>\1<<) *>
Replace: "The linked URL was: $GET(LinkURL)"

So a filter like

Code:
[Patterns]
Name = "Test"
Active = FALSE
Limit = 256
Match = "<a * href=$AVQ(\1)$SET(LinkURL=>>\1<<) *>"
Replace = "The linked URL was: $GET(LinkURL)"

tested against

Code:
<a href="http://www.proxomitron.info/45/help/Matching%20Commands.html#GET">

test window Wrote:The linked URL was: >>"http://www.proxomitron.info/45/help/Matching%20Commands.html#GET"<<

After I remove "$SET(LinkURL=>>\1<<)",

test window Wrote:The linked URL was:

Case is important, must be $SET and $GET.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to use $LST(Count) in Replace ? - JJoe - Dec. 22, 2012, 10:54 PM
RE: How to use $LST(Count) in Replace ? - JJoe - Dec. 23, 2012 05:26 PM

Forum Jump: