-1

I have the following string and I want to find a proper regex for it, so I can use it in Regular Expression in Jmeter:

DocumentId_123456

The point is that every time the numbers have different length. so basically I want everything between _ and the end of string.

Wiktor Stribiżew
  • 607,720
  • 39
  • 448
  • 563
Parinaz.N
  • 27
  • 2
  • 6

1 Answers1

1

Please try it, I guess it works in jmeter

DocumentId_(\d+)

Uou can check it here: [https://regex101.com/]

mehrandvd
  • 8,806
  • 12
  • 64
  • 111