i cant figure out how to get multiple matchs.
in my clipboard is:
101221 tady muze byt taky
29,90 tady taky nejaky text
39,90/ 25%
104036
199,- 99,90 trochu pismenek
74
and i want to get just bold numbers, it can be 5-8 digits. Somethimes is just one in clipboard, somethimes i have 10x this numbers.
i have tried this:
Code: Select all
clipboard := RegExReplace(clipboard,"(\r|\n)", " ") ; to remove lines - maybe useful?
clipboard := RegExReplace(Clipboard,"(\d{5,8})\s", "$1", pocetART) ; how many times is my needle in clipboard - maybe for loop?
clipboard := RegExReplace(Clipboard,"(\d{5,8})", "$1") ; but this give me nothing :/
Code: Select all
RegExMatch(clipboard,"s)(\d{5,8})", art) ; without success :/
as new line or not for example: 104036 101221 15547 556878 ....
Thank you for your advice.