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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...