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

How to design the regex to capture the return value with only 7 digit number

aravindhan_v
Contributor

Hi,

Can someone please help me to design the regex expression to filter the requests with return value consists only seven digit numbers.

Have tried, /d {0-9}[7] which failed.

Thanks in advance,

Aravindhan Vellaichamy

1 REPLY 1

janusz_dabrowsk
Dynatrace Pro
Dynatrace Pro

Below is matched only if given string is literally 7 digits, nothing more nothing less, nothing

preceded, nothing succeeded

^\d{7}$