Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Question about StringRegExp

$
0
0
I'd like to gather every string between " ". I tried to set up a pattern but it seems to fail all the time :S

I tried:

[ autoit ]      
#include $a = FileOpenDialog("", @DesktopDir, "All (*.*)") $b = FileRead($a) $c = StringRegExp($b, '["."]', 1) MsgBox(0,"",$c) _ArrayDisplay($c)

[ autoit ]      
#include <array.au3> $a = FileOpenDialog("", @DesktopDir, "All (*.*)") $b = FileRead($a) $c = StringRegExp($b, '["][.]["]', 1) MsgBox(0,"",$c) _ArrayDisplay($c)

[ autoit ]      
#include <array.au3> $a = FileOpenDialog("", @DesktopDir, "All (*.*)") $b = FileRead($a) $c = StringRegExp($b, '["].["]', 1) MsgBox(0,"",$c) _ArrayDisplay($c)

[ autoit ]      
#include <array.au3> $a = FileOpenDialog("", @DesktopDir, "All (*.*)") $b = FileRead($a) $c = StringRegExp($b, '"."', 1) MsgBox(0,"",$c) _ArrayDisplay($c)

And much more that I won't list since you could read it all day :)

Viewing all articles
Browse latest Browse all 12506

Trending Articles