Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - RegEx help?
  FAQ FAQ  Forum Search   Register Register  Login Login

RegEx help?

 Post Reply Post Reply
Author
Alan View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alan Quote  Post ReplyReply Direct Link To This Post Topic: RegEx help?
    Posted: 01 December 2004 at 12:15pm

Can anyone give me a hand at a RegEx string to detect something similar to the following?

----345674158437272--

The string of numbers varies from 11 to 15 digits, but the dashes remain constant

Back to Top
keizersozay View Drop Down
Groupie
Groupie
Avatar

Joined: 26 January 2005
Location: United States
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote keizersozay Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2004 at 1:04pm
((----\d{11,15}--))
Back to Top
keizersozay View Drop Down
Groupie
Groupie
Avatar

Joined: 26 January 2005
Location: United States
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote keizersozay Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2004 at 1:07pm

or this

((----[0-9]{11,15}--))

Back to Top
Alan View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alan Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2004 at 2:15pm

Ok, thanks.  It looks like I just had extra "(" and ")"'s in mine.

I'll give your suggestion a try.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.648 seconds.