Recommended Posts

I trying for more than a hour to get this regular expression right, what I want to do is grab multiple strings inside a table/div on a webpage the problem is to put this to check multiple times for the expressions to capture between (in the example " and "</table")

In this example I'm trying to get all the topic names listed on first page of "General Help and Support" from Autoit forum's but limiting the search/capture between '<table class="ipb_table topic_list hover_rows " summary="Topics In This Forum &quot;General Help and Support&quot;" id="forum_table">' and '</table>'

(I don't know how to paste this tidy, if some one experienced in the mater can share the secret I'll be grateful )

My UDF:
NetInfo UDF Play with your network, check your download/upload speed and much more!
YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video.
NavInfo Check if a specific browser is installed and retrive other usefull information.
YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region.
No-IP UDF Easily update your no-ip hostname(s).

My Script:
Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!
My Snippet:_ImageSaveToBMPConvert an image to bmp format.
_SciteGOTO Open a file in SciTE at specific fileline.
_FileToHex Show the hex code of a specified file

My UDF:
NetInfo UDF Play with your network, check your download/upload speed and much more!
YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video.
NavInfo Check if a specific browser is installed and retrive other usefull information.
YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region.
No-IP UDF Easily update your no-ip hostname(s).

My Script:
Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!
My Snippet:_ImageSaveToBMPConvert an image to bmp format.
_SciteGOTO Open a file in SciTE at specific fileline.
_FileToHex Show the hex code of a specified file

Glad to help you. By the way i dont see duplicate table on the source of General Help and Support. So why overcomplicate the regex?

Hi!

My UDF:
NetInfo UDF Play with your network, check your download/upload speed and much more!
YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video.
NavInfo Check if a specific browser is installed and retrive other usefull information.
YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region.
No-IP UDF Easily update your no-ip hostname(s).

My Script:
Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!
My Snippet:_ImageSaveToBMPConvert an image to bmp format.
_SciteGOTO Open a file in SciTE at specific fileline.
_FileToHex Show the hex code of a specified file

so you need a regex to grab the album track from itunes? I really dont have understand how in the world now we are talking of itunes

Hi!

My UDF:
NetInfo UDF Play with your network, check your download/upload speed and much more!
YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video.
NavInfo Check if a specific browser is installed and retrive other usefull information.
YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region.
No-IP UDF Easily update your no-ip hostname(s).

My Script:
Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!
My Snippet:_ImageSaveToBMPConvert an image to bmp format.
_SciteGOTO Open a file in SciTE at specific fileline.
_FileToHex Show the hex code of a specified file

Share this post

Link to post

Share on other sites

My UDF:
NetInfo UDF Play with your network, check your download/upload speed and much more!
YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video.
NavInfo Check if a specific browser is installed and retrive other usefull information.
YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region.
No-IP UDF Easily update your no-ip hostname(s).

My Script:
Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!
My Snippet:_ImageSaveToBMPConvert an image to bmp format.
_SciteGOTO Open a file in SciTE at specific fileline.
_FileToHex Show the hex code of a specified file

Recently Browsing
0 members

Similar Content

i am trying to get number from string using this code :
#include <IE.au3>
$oIE = _IEAttach ("Edu.corner")
Local $aName = "Student name & Code:", $iaName = "0"
Local $oTds = _IETagNameGetCollection($oIE, "td")
For $oTd In $oTds
If $oTd.InnerText = $aName Then
$iaName = $oTd.NextElementSibling.InnerText
$iGet = StringRegExpReplace($iaName, "\D", "")
EndIf
Next
MsgBox(0, "", $iGet)
it was get number like 52503058
But, I want to get only student code 5250. (Different student have different code, sometime its 3 digits, Sometime 4)

Is there a way to output the regex matches into a file?
I have a script to compare two files and check for regex matches.
I want to output the matching regex of 'testexample.txt' to another file.
#include <MsgBoxConstants.au3>
#include <Array.au3>
$Read = FileReadToArray("C:\Users\admin\Documents\testexample.txt")
$Dictionary = FileReadToArray("C:\Users\admin\Documents\example.txt")
For $p = 0 To UBound($Dictionary) - 1 Step 1
$pattern = $Dictionary[$p]
For $i = 0 To UBound($Read) - 1 Step 1
$regex = $Read[$i]
If StringRegExp($regex, $pattern, 0) Then
MsgBox(0, "ResultsPass", "The string is in the file, highlighted strings: " )
Else
MsgBox(0, "ResultsFail", "The string isn't in the file.")
EndIf
Next
Next

Hello,
This is my first post. So I’ve worked on a script for a while and I’m planning to publish it but the problem is that it connects to an FTP server at some point, and as you probably know FTP credentials are easily captured by a MITM attack or Wireshark (not sure if Wireshark does). So I thought if i can detect data capturing in the user’s network the script would stop. Any idea?.
If there’s another workaround I’m happy to hear it.

I've written a script that will move my mouse to a location on the screen whenever my remote access software becomes active, the problem I have is that as soon as the remote access software becomes active it appears to capture the mouse and keyboard so nothing happens when I use MouseMove().