08 Aug 2022 05:29 PM
Hello I am trying to create a regular expression that removes commas.
Example 583,100
should be 583100
I am creating the following expression but it divides the result
([0-9][^,\s]*+)
The idea is that all the value is output in a single complete line 583100 without the comma
10 Jan 2023 08:01 PM
I was unable to concatenate the two groups via regex 😞 maybe someone else will have better luck.
10 Jan 2023 09:08 PM
I believe this is not solvable using one capture group. You could do that using two capture groups, something like:
(\d+)[,]?(\d?+)
and then use the value of both capture groups concatenated.