Match first file of a Rar post

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Match first file of a Rar post

Postby Random » Mon Apr 29, 2002 4:19 am

LAST EDITED ON 04-29-02 AT 03:21 AM (EST)
This was easy some time ago but now there is some rar post with files named
file.part01.rar
file.part02.rar
ect

or
file.part001.rar
file.part002.rar

The regular expression I use now is :
([^.][^P][^A][^R][^T][^0-9]+[^2-9]|\.PART0+1)\.RAR

If you want to find all kind of 1st file this one should work:
([^.][^P][^A][^R][^T][^0-9]+[^2-9]|\.PART0+1)\.(RAR|ZIP|ACE|001)

Any comment or better idea ?

(sorry for my bad english)
Random
 

Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 16 guests