Before posting, and to avoid disappointment, please read the following:

  • This forum is not for 2BrightSparks to provide technical support. It's primarily for users to help other users. Do not expect 2BrightSparks to answer any question posted to this forum.
  • If you find a bug in any of our software, please submit a support ticket. It does not matter if you are using our freeware, a beta version or you haven't yet purchased the software. We want to know about any and all bugs so we can fix them as soon as possible. We usually need more information and details from you to reproduce bugs and that is better done via a support ticket and not this forum.

Regular Expression Filter

SyncBackFree is the freeware version of SyncBack. It is *not* an evaluation version of SyncBackPro/SE.
Post Reply
Posts: 1
Joined: Tue May 08, 2018 5:59 am

Regular Expression Filter

Post by bisonconstructions »

Hello I have a requirement that has the following folders
Four Digit Number - Council Docs
2345 - Council Docs

the four digit number changes but the following " - Council Docs" doesn't change.

I tried several Expression FIlters such as below but none of them will select folders with a four digit number the - Council Docs
[\dddd] - Council Docs\*.*
[\d{nnnn}] - Council Docs\*.*
[0-9]{4} - Council Docs\*.*

can someone give me a bit of a pointer
I have looked on this help page but can't seem to work it out. ... ilters.htm
Posts: 606
Joined: Tue May 31, 2011 5:59 pm

Re: Regular Expression Filter

Post by cliffhanger »

Hi, are you using SyncBackFree, and simply typing your filter attempts into the pane(s) of the default dialog that opens when you clock the Change Filter button (on the Simple settings page)? That won't work for a combination of 2 major reasons

1) you would need to use the Filter menu on that dialog and set it to use Regular Expressions (by default it will open to the factory-default filter entries, which are DOS filters (and thus so is the entry mode)

2) If you look for the entry on the Filter menu you would need to use to switch filtering mode to RegEx, you will find it is disabled (ghosted) anyway, because SB Free & SB Lite do not support Regular Expressions. Only the SE & Pro variants optionally support RegEx (but new SE/Pro profiles also default to DOS filters unless/until you changed to RegEx (or Old V3, legacy) filtering already)

NOTE: I do not use RegEx personally as (a) I don't need complex filtering & (b) RegEx gives me a migraine :roll: so cannot offer you any design tips, so > >

If you upgrade to SE or Pro and still need assistance (you can try them free for 30 days; no need to uninstall Free, they all install separately - do not try to install 'over the top') suggest re-post in the appropriate forum (SE or Pro)
Post Reply