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
I was unable to concatenate the two groups via regex 😞 maybe someone else will have better luck.
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.
Featured Posts