Hello am new to ahk and i don't know much abt ahk. please i need a script that removes both duplicates in a clipboard.
example:
1
1
2
2
3
4
4
5
the result will be
3
5
thanks in advance
help with clip filter
- divanebaba
- Posts: 805
- Joined: 20 Dec 2016, 03:53
- Location: Diaspora
Re: help with clip filter
Hi.
You could save your digits into a variable and than you can use sort with U-parameter to remove duplicates.
EDIT: Sort is not able to solve this issue.
BoBo made me aware of my mistake.
EDIT: Not mistake. I meant miseducation.
EDIT: Sort is not able to solve this issue.
BoBo made me aware of my mistake.
EDIT: Not mistake. I meant miseducation.
Last edited by divanebaba on 17 Oct 2017, 03:36, edited 1 time in total.
Einfach nur ein toller Typ.
-
- Posts: 4331
- Joined: 29 Mar 2015, 09:41
- Contact:
Re: help with clip filter
Hello, smallboy3,
Try:
Try:
Code: Select all
Clipboard := RegExReplace(Clipboard, "m`a)(^.+$)\R\1\R?")
Re: help with clip filter
Die anforderung war, alle einträge zu löschen, welche als doppel vorliegen, nicht alle dubletten.divanebaba wrote:Hi.
You could save your digits into a variable and than you can use sort with U-parameter to remove duplicates.
Siehe > "result"
Who is online
Users browsing this forum: Google [Bot], Spawnova and 310 guests