Tips on writing regular expressions for searching the post list
Moderators: Quade, dexter
by AreLefty » Thu May 02, 2002 4:17 pm
Still just a little confuse about filters.
What about filters in R4.0 filename spaces and numbers such as:
keep it simple 02.avi
keep it simple 03.avi
How do you account for the spaces and number when setting up a filter?
-
AreLefty
-
by dexter » Thu May 02, 2002 4:52 pm
You can bracket spaces, or put the entire string in parenthesis. So you could use either
keep[ ]it[ ]simple[ ][0-9][0-9]\.avi
or
(keep it simple )[0-9][0-9]\.avi
-
dexter
- Site Admin
-
- Posts: 9514
- Joined: Fri May 18, 2001 3:50 pm
- Location: Northern Virginia, US
Registered Newsbin User since: 10/24/97
-
by Quade » Thu May 02, 2002 11:46 pm
The first yes. Don't know about the second. Did you test this?
-
Quade
- Eternal n00b
-
- Posts: 44999
- Joined: Sat May 19, 2001 12:41 am
- Location: Virginia, US
Registered Newsbin User since: 10/24/97
-
by dexter » Sat May 04, 2002 11:51 pm
Yep, it works.
-
dexter
- Site Admin
-
- Posts: 9514
- Joined: Fri May 18, 2001 3:50 pm
- Location: Northern Virginia, US
Registered Newsbin User since: 10/24/97
-
Return to Regular Expressions
Who is online
Users browsing this forum: No registered users and 1 guest