Regex on a string field with number

I have a timestamp field which will have value as below
log_timestamp : 11/8/2020#17:21:25:635

The log_timestamp is a string field. How do i use regex to filter values from

11/8/2020#17:21:22:635 To 11/8/2020#17:21:25:635

I tried with <2-5> on that particular character but it isnt working

Any help or direction would be of great help

Is there a reason you've parsed it as a string field, instead of a date field? I think it would be easier to handle this using date ranges. https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html

If you still want help with your regular expression, you will need to be more specific about what you've already tried. It's impossible to help with a regex unless we see the actual regex and some examples

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.