Page 1 of 1

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

Posted: 10 Feb 2014, 09:08
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.*​

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

Posted: 10 Feb 2014, 10:03
by ForumAdmin
This should do it:

a:

Code: Select all

pfile:.*/untgz\.php
b:

Code: Select all

pfile:.*/thisismyfile\..*