F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
  1. DevCentral
  2. Forums
  3. Technical Forum

Forum Discussion

Robert_47833's avatar
Robert_47833
Icon for Altostratus rankAltostratus
Nov 21, 2011

how to match 6 digtals via command except matches_regex

hi,dear irule   if {$uri matches_regex {-[0-9][0-9][0-9][0-9][0-9][0-9]}} {   pool xxx   }   I don't wanna use matches_regex any more   do u have an alternation method to achieve this...
application delivery
dev
DevOps
irules

Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

Win Big in Vegas: The iRules Contest is back with $5k on the line at AppWorld 2026

DevCentral News
announcement
appworld2026
contest
event
irules

Jürgen - February 2026 Featured Member

DevCentral News
announcement
DevOps
event
security

F5 Architecture Track Sessions - AppWorld 2026

DevCentral News
announcement
appworld2026

Recent Discussions

Related Content
  • WAF evasion techniques for Command Injection
    Jul 25, 2024
    AaronJB
  • Overview of MITRE ATT&CK Tactic - TA0011 Command and Control
    Dec 17, 2025
    ishika_ray
  • Power of tmsh commands using Ansible
    Feb 09, 2021
    Payal_S
  • Watch Command
    Mar 10, 2015
    CodeCentral_194
  • DNS Resolution with the RESOLVER::name_lookup Command
    Jan 26, 2021
    JRahm
Under Attack? F5 Will Help You.
Contacting F5 Support?

DevCentral Quicklinks

* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com

Discover DevCentral Connects

* Podcasts
* Social Channels
* Video Streaming

GitHub Awesome-F5

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2026 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information