I want to divide this kind of string into 3 groups
"02.01. 02.01. Pay card PN:123 6562,58 S"
group1 should match "02.01. 02.01."
group2 should match "Pay card PN:123 "
group3 should match "6562,58 S" (this part can vary by the amount i.e. 1,99 H )
my regex looks like this
^([0-9][0-9]\.[0-9][0-9]\. [0-9][0-9]\.[0-9][0-9]\.)(.*)(\d+\,[0-9][0-9].*)
but group3 will only match "2,58 S" instead of "6562,58 S"
What is the correct regex ?