Regex (java) - extracting from payload -
000klkj1-041-3501-0071-00000kjhh05601 56hj1 66553 78 546623
payload follows same structure every time , i'm trying find numerical values reside after 3 spaces (or 3 whitespaces?) (in case "78"). number(s) (1 or 2 numbers @ most) after 3 spaces; commonality between multiple payloads. other \d+, have nothing far. any/all appreciated.
it hard understand question if want numbers after 3 spaces can use regex:
^(?:\s*\s+){3}(\d+) 
match information:
match 1 1. [50-52] `78` match 2 1. [114-116] `78`
Comments
Post a Comment