Here is my script
Code: Select all
input = Eyelid Dermatochalasis H02.83
Var = Eyelid
RegExMatch(input, "i)%var% ([^\n\t]+)", match)
msgbox %match1%
Code: Select all
input = Eyelid Dermatochalasis H02.83
Var = Eyelid
RegExMatch(input, "i)%var% ([^\n\t]+)", match)
msgbox %match1%
Code: Select all
haystack := "Eyelid Dermatochalasis H02.83"
var := "Eyelid"
needle := "i)" . var . " ([^\n\t]+)"
RegExMatch(haystack, needle, match)
msgbox % match1
Eyelid Dermatochalasis H02.83 __
Dermatochalasis H02.831
Eyelid DX connected to Procedure: 92082
Users browsing this forum: Google [Bot], marypoppins_1, Rohwedder, Spawnova and 149 guests