HELP required: specific regexp for "<anypath>/filename.*"

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
Post Reply
Smjork
Junior Member
Posts: 7
Joined: 10 Feb 2014, 08:29

HELP required: specific regexp for "<anypath>/filename.*"

Post by Smjork »

I just need to put some files in the cxs.ignore file but I'm a noob at regexp so please, help me build the specific regexp for the following:

a. Needed "pfile:" regexp#1: (specific filename WITH specific extension, REGARDLESS of path)
<any-path>/untgz.php

b. Needed "pfile:" regexp#2: (specific filename, REGARDLESS of extension, REGARDLESS of path)
<any-path>/thisismyfile.*​
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: HELP required: specific regexp for "<anypath>/filename.*

Post by ForumAdmin »

This should do it:

a:

Code: Select all

pfile:.*/untgz\.php
b:

Code: Select all

pfile:.*/thisismyfile\..*
Post Reply