Splunk Search

regex help sliding pattern

marceloFinkiels
New Member

Given this input: 123456789
i need a regex that will match and produce: 123, 234, 345, 456, 567, 678, 789.

Thanks in advance!!
Marcelo

Tags (1)
0 Karma

marceloFinkiels
New Member

Received answer on another forum. FYI ... (written using C# syntax)
Regex regexObj = new Regex(@"(?=(\d{3}))");

HTH,
Marcelo Finkielsztein

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...