Forum Discussion
Robert_47833
Jun 04, 2012Altostratus
use string command to match many digitals
hello,dear
my url is
http://www.cjj.com/sit/event/12312343214324/313131/temp
I 'd like to use string command to filter all non-digital uri
![string match {^/sit/event/...
hoolio
Jun 04, 2012Cirrostratus
Hi Jucao,
string match doesn't accept regex syntax like anchors (^) or a repeat count for a character class (*). See this TCL wiki page for details on string is integer and is digit:
http://wiki.tcl.tk/10166
What do you mean by "filter all non-digital URIs)? Do you want to match any URI which starts with /sit/event that doesn't have two directories of numbers? Do you want to remove the numbers? Or do something else?
Aaron
Recent Discussions
Related Content
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