-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
  • 561,645
  • 34
  • 376
  • 476
Parinaz.N
  • 27
  • 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,648
  • 10
  • 58
  • 105