Reply to topic

Question on Skrooge - regexp on Search and Process

jeleb
Registered Member
Posts
4
Karma
0
Hi there,

I use skrooge, and I'm very happy with it 8)
My bank exports have a beneficiary field like :
"MyShopName CARTE 12345678 PAIEME"
or
"MyShopNameLonger CARTE 12345678 P"

The beneficiary field contains the CB card number with variable length, from "CARTE 12345678 PAIEMENT CB" to "CARTE 1234"
I want to modify this field without "CARTE ..."
With regexp, i can find all records. Something like : ".* CARTE 1234.*"
But how I remove this part ?
Can I do something like :
search : regexp << (.*) CARTE 1234.*>>
process : =$1

Thnak you
User avatar smankowski
Moderator
Posts
966
Karma
7
OS
No, this is not possible to extract value from regexp.
Because the idea is good, I will add it in my todo list.


Skrooge, a personal finances manager powered by KDE
Image
User avatar smankowski
Moderator
Posts
966
Karma
7
OS
This is implemented: https://cgit.kde.org/skrooge.git/commit ... f5b28d9162
You will have it in next version 2.20.0.
Regards.


Skrooge, a personal finances manager powered by KDE
Image
jeleb
Registered Member
Posts
4
Karma
0
Fabulous ! I'm waiting for this new version !
Thank you !

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Invictus