cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help with Regex Apply cleanup rule

gabriel_gomez
Participant

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]*+)

gabriel_gomez_0-1659976039577.png

The idea is that all the value is output in a single complete line 583100 without the comma

 

2 REPLIES 2

ChadTurner
DynaMight Legend
DynaMight Legend

I was unable to concatenate the two groups via regex 😞 maybe someone else will have better luck. 

-Chad

Julius_Loman
DynaMight Legend
DynaMight Legend

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. 

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts