luchovelez
(Luis Velez)
1
i have this text
-
Resgate de 30% da reserva total livre da Carência do Ano Civil
10.000,00
2) X Resgate de R$ _________ (valor limitado a 30% da reserva livre da Carência do Ano Civil)
and i want this output
-
Resgate de 30% da reserva total livre da Carência do Ano Civil
10.000,00
2) X Resgate de R$ _________ (valor limitado a 30% da reserva livre da Carência do Ano Civil)
i dont wanna have all text in a line, i need only remove empty lines
prasath17
(Guru)
2
@luchovelez - your input and Output looks like same…please let us know what you exactly want to extract from your input?
luchovelez
(Luis Velez)
3
i need extract only the number
can be any number in currency format with 2 decimal
prasath17
(Guru)
4
@luchovelez - is it 10,000.00 ?? please clarify
prasath17
(Guru)
5
@luchovelez - Are you looking something like this? i.e to extract any numbers with comma separated with 2 decimal places…

1 Like
@luchovelez - This is not 2 decimal…
I am confused??
luchovelez
(Luis Velez)
8
my decimal format in my country is with , not with .
@luchovelez - ok, try this pattern…
(\d{1,3}(.\d{1,3})*|(\d+))(,\d{1,2})
If this solves your query, please mark this post as solution.
1 Like
system
(system)
Closed
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.