• Resolved rmarkb

    (@rmarkb)


    I understand how to create a meta filter for all last names starting with “A” — ‘^A’ — or a range of names “A-C” — ‘^[A-C]’
    I have so many subscribers I need to break it down further to keep from breaking the email limits.

    What would be the correct code to use if I wanted a list of names “A-Am”?
    ‘^[A-Am]’ obviously doesn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    Try something like this: “A-Am” – ‘^A[a-m]’

    This has the regular expression match a capital A to start then the second letter in the range of “a-m”.

    Thread Starter rmarkb

    (@rmarkb)

    Thank you!
    Seems obvious, now, but I’m not primarily a coder.

    That seems to work, but it’s a bit hard to verify as the list produced is not exactly alphabetical order. For instance, have some “Adams” at both the top and bottom of the list.

    Is there an ‘order by’ value of some sort that could be added?
    If not, not a big deal – I can work with this – but it would be nice to get a visual confirmation on the list.

    Thanks again!
    Mark

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Email Users has a setting for sort order on the plugin settings page (Dashboard > Settings > Email Users). This setting should apply to the results this regular expression filters the list down to.

    Thread Starter rmarkb

    (@rmarkb)

    That’s it. I missed overall settings under Dashboard > Settings.

    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Email Users Custom List new filter’ is closed to new replies.