Hi , I have strings like the below.
I want to get the numbers after the " if possible?
Struggling to get around the " in my expression
HTTP/1.1" 403
HTTP/1.0" 500
The below gets the numbers but does not include the "
(?<=HTTP/1.1 )\d{3}
Hi , I have strings like the below.
I want to get the numbers after the " if possible?
Struggling to get around the " in my expression
HTTP/1.1" 403
HTTP/1.0" 500
The below gets the numbers but does not include the "
(?<=HTTP/1.1 )\d{3}
Please try this,
(?<=")[\s\d]*
Use trim after the result to remove the spaces.
Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.