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

StringRegExp Help...

$
0
0
Well, I have no clue on StringRegExp(), would be nice if someone give some little helps.

The code explains itself:
[ autoit ]      
Global Const $TEXT_A = "SpeCtR3._.n1 - SpamBot" ;Needs SpeCtR3._.n1 Global Const $TEXT_B = "D4RK-ON3 - Server 2" ;Needs D4RK-ON3 Global Const $TEXT_C = "EXuCHER - WhisperBot" ;Needs EXuCHER Global Const $TEXT_D = "Whatever here A - Whatever here B" ;Needs Whatever here A

As commented in the code, the output of StringRegExp() should be everything before the last dash (-), note that there could be more than one dash ($TEXT_B).

Thanks in advance.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>