|
-
May 29th, 2004, 05:59 PM
#1
-
May 29th, 2004, 07:56 PM
#2
I wonder how many charact
Best place in the world for RegEx's
http://regexlib.com/Search.aspx?k=filename
2nd one down looks good..
-
May 29th, 2004, 09:14 PM
#3
-
May 29th, 2004, 09:48 PM
#4
Sleep mode
Originally posted by MrPolite
one q: that's the "matches" and "non-matches" thing? are those just examples?
Yes.
-
May 30th, 2004, 09:31 AM
#5
I wonder how many charact
The matches and non-matches are the results of using testing the regex against whatever you put in the input field.
It allows you test the RegEx for common things to be certain it does what is has been advertised to do, and also allows you to change the regex real-time and keep retesting it.
Also be sure to test the RegEx with .Net and Javascript by selecting the appropriate radiobutton.
-
Jun 1st, 2004, 03:18 AM
#6
I just made this up off top of my head...
"^[^\\<>|\""\?\*]+(\.[^\\<>|\""\?\*]{1,3})?$"
Matches hello.txt but not hel\lo.txt.
Haven't tested it further than that though.
The above is a VB qualified string, I had to double up on the quote characters to make it work the real Regex string (in memory) should look like this...
"^[^\\<>|\"\?\*]+(\.[^\\<>|\"\?\*]{1,3})?$"
I don't live here any more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|