This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 6 matches

by walker
Thu Sep 03, 2009 4:51 am
Forum: Scripting Help
Topic: regsub -nocase {} help
Replies: 14
Views: 11393

It can be done by various means. Generally I choose the following method of including a variable within a regexp/regsub pattern regexp -- [subst -nocommands -nobackslashes {pattern here}] "text here" The above solution would require that a dollar symbol ($) never occurs elsewhere within t...
by walker
Thu Sep 03, 2009 4:28 am
Forum: Scripting Help
Topic: regsub -nocase {} help
Replies: 14
Views: 11393

arfer wrote:The most likely issue here is that substitution of the variable named arg_date by its value using $arg_date will not occur because the braces that are surrounding the regsub pattern prevent normal variable, command and backslash substitution.
so? it's imposibble to do that? please help
by walker
Thu Sep 03, 2009 3:23 am
Forum: Scripting Help
Topic: regsub -nocase {} help
Replies: 14
Views: 11393

so you want to show everything between <a href="b.php"> and </b>, but not show the rest of it? please show me example content of your var $data and what it is meant to look like, Ill try to build something for you. too much line bro. i thik how to make <a\s+href="b.php"> and $ar...
by walker
Thu Sep 03, 2009 2:11 am
Forum: Scripting Help
Topic: regsub -nocase {} help
Replies: 14
Views: 11393

thanks bro raider2k, i must explain what i want to do. set arg_date 15 regsub -nocase {.*<a\s+href=\"b.php\">$arg_date(.+)</b>.*} $data {\1} data putquick "PRIVMSG $chan :$data" i want to show all text between <a href="b.php">15 to </b> with regsub command. 15 must insi...
by walker
Thu Sep 03, 2009 1:59 am
Forum: Script Support & Releases
Topic: Webby v1.7 (June 26th 2o12) Web info with public regexp
Replies: 16
Views: 42762

cannot shown anything :(
by walker
Thu Sep 03, 2009 1:14 am
Forum: Scripting Help
Topic: regsub -nocase {} help
Replies: 14
Views: 11393

regsub -nocase {} help

i have code like this: set arg_date 15 regsub -nocase {.*<tr\s+bgcolor=\#0099FF><td\s+align=center><FONT SIZE=\'2\'\s+COLOR=\'\#FFFFFF\'\s+face=\'verdana\'>$arg_date(.+)&periuk=.*} $data {\1} data putquick "PRIVMSG $chan :$data" why it's not working?? i think i wrong the code between \...