Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 208

Ask for Help (v1) • RegExMatch issue

$
0
0
this script reads curl2.txt, uses RegExMatch, then displays result in msgbox:

CODE:

f1::
FileRead, output, curl2.txt
RegExMatch(output, "links"": \[\s*""(.*?)""\s*\]", result)
MsgBox, % result1
return
this is my curl2.txt file:

CODE:

"links": [
"https:\/\/real-debrid.com\/d\/ID"
],
msgbox displays:

CODE:

https:\/\/real-debrid.com\/d\/ID

i want msgbox to display:

CODE:

https://real-debrid.com/d/ID
how can i revise my regexmatch command to achieve this?

Statistics: Posted by iamgodxo — 20 minutes ago



Viewing all articles
Browse latest Browse all 208

Latest Images

Trending Articles



Latest Images