With my programm I want to be able to make a picture of any receipt and filter certain informations, one beeing the price.

My Input is the following:

### Input:

```
----------
BT em <br/>
SCHWEINFURT _OSKAR-VON-MILLER-STR.6 <br/>
RADIESCHEN **0,59** <br/>
KAESEAUFSCH. **1.39** <br/>
BAUCHSPECK **1,19** <br/>
BAUCHSPECK **1,19** <br/>
DORNFELDER **0,99**<br/>
CLEMENTINEN **2,49**<br/>
L&M BLUE **3,50**<br/>
L&M BLUE **3,50**<br/>
SUMME EUR **14,84** *<br/>
BAR **50,00**<br/>

RUCKGELD EUR **35,16**<br/>
“ENTHALTENE MEHRWERTSTEUER A<br/>
MWST NETTO<br/>
**7,00** % **0,45** **6,40**<br/>
**19,00** % **1,28** **6,71**<br/>
SUMME MWST **1,73** **13,11**<br/>
EDEKA HANDELSGFSELLSCHAFT<br/>
NORDBAYERN-SACHSEN-THURINGEN MBH<br/>
STEUERNUMMER: 257/115/30471<br/>
QUITTUNG<br/>
NUTZEN SIE DIF EDECARD<br/>
PUNKTE_SAMMELN+PRAMIEN ERWERBEN<br/>
THR EINKAUF WARE UNS<br/>
1 BONUSPUNKTE WERT GEWESEN !<br/>
08.12.07 16:27 37589 48 4 8500<br/>
FS BEDIENTE STE: H. SEUFERT :<br/>
VIELEN DANK FÜR IHREN EINKAUF!<br/>
AUF WIEDERSEHEN IM E-CENTER<br/>
UNSERE ÖFFNUNGSZEITEN FÜR SIE:<br/>
MONTAG-SAMSTAG: 0800-20 . 00UER<br/>

```

---

The informations I want to obtain are bold.

### Tried RegExp:

First I tried the following RegExp:   

```
/(([\d]{1,2})(\,|\.)[\d]{2})/g

```

I choose this one, because   

* I am looking for more than one match, therefore / 

(...) /g

	+ My prices got one or two digits in the beginning, therefore `[\d]{1,2}`
	+ After the first to digits, there is either a dot or a comma, therefore `(\,|\.)`
	+ In the end, there are two digits, therefore `[\d]{2}`

![I got this output](https://i.stack.imgur.com/OaKyz.png)

As you can see part of the date is a match, which I don't want.
Right now I don't mind the part after MWST Netto to match.

My approach to the problem
--------------------------

My idea was to look for the dot. So I tried adding
[^.] before and after my RegExp

![Then I got this output](https://i.stack.imgur.com/BVUmM.png)

As you can see my problem is still there. I don't understand why 6,40 and 6,71 is not a match anymore as there is no dot before or after.

Does anyone got an idea what to try next? I was thinking about and *AND-Statement*, so I would use my first RegExp and then exclude anything that looks like a date.
But I'm not sure how to that. 

I would really appreciate any tipps or ideas you have. If there is anything unclear or you need more information, please do not hesitate to ask.