Hi guys, I really suck at Regex and I was wondering if you could help me with an expression…
This is the text that I need to apply Regex on.
" Conform ultimelor sondaje, coaliția USR-PLUS - PNL câștigă teren în fața alegătorilor din Capitală.
Astfel, candidații se plasează în ordine:
- Nicușor Dan, cotat cu 42.03%
- Gabriela Firea: pierde importante procente, având doar 36.8%
- Traian Băsescu, surpriza săptămânii, cu 15,3%
- Octavian Bădescu, intenție de vot 2,7%
- C.P. Tăriceanu: 1.005%
- Ilan Laufer, Ioan Sîrbu și Alexandru Coita, fiecare câte 0,7216% . Au multe rude, pare-se. "
What I need is to match the names (such as “Nicusor Dan”, “Gabriela Firea”, etc.) with the percentages ( so Nicusor Dan - 42.03% ; Gabriela Firea - 36.8% and so on )
Thanks guys…