Using RegEx in Subscription Criteria

Using RegEx in Subscription Criteria
Hello
I want to use RegEx expression for filtering in my Subscription criteria, as follows:
Let say all the monitor I created start with same set of characters i.e.
"My Monitor"
Therefore I have several monitors called
My Monitor ABC
My Monitor 123
My Monitor XYZ
Therefore as part of the Subscription Criteria, under "with a specific name" I currently have
My Monitor%
The % meaning any one or more characters. That works find I receive notifications for alerts from all of the monitors with the above names.
Now what I want to do is keep this one subscription criteria but exclude notifications from say My Monitor 123. I still want to receive notifications from the other two monitors, therefore I was thinking this is a case for RegEx
First question is can I use RegEx in the criteria "with a specific name" field? I guess I am already doing the with the % however, I believe that is an SQL expression rather than a true RegEx expression?
The following blog has some detailed information
http://social.technet.microsoft.com/Forums/en-US/operationsmanagergeneral/thread/ac0bf65f-f562-4f8c-b624-5fbe7ee2e795/
I am not clear if this would work in my case, for example it states the ^ character is used to denote NOT. Based on this I was thinking about changing the above
My Monitor%
To
My Monitor%[^123]
Will the above work, is it the correct syntax?
Any advise, most welcome
Thanks you all
Ernie

Hello Yury,
Thanks again for your help. Your solution worked, however with a slight difference as I discovered something else while testing.
Basically the example above
My Monitor [^1][^2][^3]%
Only takes into account the First character of the word/phrase for example, using the above filer, the results were
My Monitor ABC - pass
My Monitor 123 - no pass
My Monitor XYZ - pass
My Monitor 222 - pass
My Monitor XY3 - pass
I therefore had to add an _ as part of the filter meaning one character, therefore using the above example if I want to block
My Monitor 123
My filter would be as follows
My Monitor [^1][^_2][^__3]%
i.e. 1 being the first character, 2 being the second character by placing any single character in front of it using the _ then 3 being the third character by placing and two characters
in from of it by using two _ characters i.e. __
Thanks again, I could not of figured it out without your help
Ernie

Similar Messages

  • HT204153 How do I use a satellite subscription with my Apple TV?

    llooking to use a satellite subscription with my Apple TV how do I do that?

    Hello gigimaid,
    If your satellite service connects to a modem or router, you should be able to use either Wi-Fi or ethernet to connect your Apple TV to the internet. This resource should help:
    Switch between wired and wireless networks on your Apple TV
    Disconnect the Ethernet cable from the Apple TV.
    Navigate to Settings > General > Network to join a Wi-Fi network.
    A list of available wireless networks will appear. Using the up and down buttons on your remote, navigate to the network you wish to join and select it.
    If your wireless network requires a password, a keyboard will appear, allowing you to enter the password using your remote.
    If the network you wish to join is hidden, click Other. Then enter the network name using the onscreen keyboard and the remote. Enter the password if necessary.
    After Apple TV has joined the network, a Connection Succeeded screen should appear. Click Done. The screen now should display the wireless network information, including network name, IP address, Wi-Fi address, and signal strength.
    To switch back to a wired connection, connect the Ethernet cable. Apple TV will switch to the wired connection automatically. Apple TV prioritizes a wired Ethernet connection.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • In app purchase to work after 6 months using Auto renewable subscription

    How to start the in app purchase to work after 6 months using Auto renewable subscription. And is it possible to track the apple id used for in app purchase

    Hi Mimanshu,
    Thanks for your reply but i've already created an auto renewable subscription and a Multi Issue with i-Tunes Subscription Multi Issue with i-Tunes Subscription and the product id of the subscription in DPS App Builder and enable Newstand for the app. I tested in sandbox environment and looks good.
    The problem is when i try to upload the binary gives me the same message. I've to submit this urgent because my client want to have this in app store in December.
    Thanks in advance.
    Regards
    Pedro

  • How To Color a Text string using Regex (java.util.regex)

    Hello,
    How can I color a text string using regex class in 1.4?

    Yes, did you notice it said something about incredibly vague functionality?
    Let me break it down for you
    > How can I color a text string
    Strings do not have color... You can color a component (a label, a button), but you can't color a string
    > using regex class in 1.4?
    Using a regular expression? How would a regular exression color anything? Do you have embedded color codes? Are you searhing a string for some secret word?
    What are you talking about?

  • LOve Firefox but it's annoying that if I'm using a search engine (I use lots of subscription legal search databases), when I press the back button all the data I entered in the search boxes has disappeared. I'm sure Firefox didn't use to do that?

    Love Firefox but it's annoying that if I'm using a search engine (I use lots of subscription legal search databases), when I press the back button all the data I entered in the search boxes has disappeared. I'm sure Firefox didn't use to do that?

    Please do the following.<br><br>
    #Click the Firefox button, go to '''Options '''| '''Options''' | '''Privacy'''.<br><br>
    #In the dropdown menu at the top, change it to "'''Use custom settings for history'''"<br><br>
    #Checkmark the option: "'''Remember Search and Form history'''".<br><br>
    #Remove the checkmark from: "'''Clear history when Firefox closes'''".

  • I cannot update the credit card used for my subscription... only a few days left

    Hi,
    My card was stolen and now I have a new one.  So I need to change the card information used for my subscription, but I can't.  I've been trying for days, using different browsers, computers, etc.  Contacted chat support with no results.  Who do I need to call to get help updating my credit card?
    The message I get is "Card is invalid, please check card details"
    I have only 4 days left in my subscription. 
    Thanks,
    Arturo

    Customer Service is completely incompetent with this type of issue. You will eventually speak to someone who does not have a good command of English, and judging from the background noise, is sitting in some kind of low cost "boiler room" operation that Adobe noiw considers to be adequate to service their paying customers.
    I spent 20 minutes on the phone trying to do the same thing. I have work to do, and eventually had to hang up. The chat line reps have to power to do anything but read from their FAQ cards.
    It must be nice to have a virtually monopoly on computer software...you can treat your customers any way you want and not have to suffer any consequences.

  • Parse html (a href) using regex

    Hello,
    i would like to extract all the urls from a website that are included in < a href=" parse string">
    I have already the regex which is
    String regex = "< *a.*href *= *['|\"]";
    May you please advise me which method in Pattern or Matcher classes shall i use in order to take as output
    *only* the url inside the " " marks?
    I have already tried end and start methods which return the indexes, but i don't get the desirable result.
    Thanks, in advance
    P.S.Also, i have already tried to use HtmlParser but i prefer to use regex cause i found a difficulty in it.

    Please continue in your original thread.
    [http://forums.sun.com/thread.jspa?threadID=5363751]

  • How to Use Regex Options in CS2 [JS] - Reg.

    Dear All,
    Hai, I have doubt about the Regex options using in CS2 - Script.
    Problem :
    filename = "FTR0123a.indd";
    k = Regex.match(filename,"(^FTR)(\d+)([A-Z*])\.(indd|indt))
    if k.match = success
    k1 = "."
    k2 = $1 [ Stored in First Value only]
    k3 = $2 [ Stored in Second Value only]
    Here I got the answers from VB.NET using Regex options. But I can't use the Same condition in Javascript.
    Please any one can give the solutions about the problem.
    Thanks & Regards
    T.R.Harihara SudhaN

    The correct format is
    filename = "FTR0123a.indd";
    k = filename.match (/^(FTR)(\d+)([A-Za-z]*)\.(indd|indt)/);
    This gives a five-element array, which you can see when you try this in the ESTK.
    Peter

  • How can i use multi group view criteria in jdeveloper10g?

    Hi.
    i'm using jdeveloper10g.1.3.50,i want add multi group viewcriteria,but can't found ViewCriteriaItem.
    eg.select x from x WHERE ( (( (a = 1) ) OR ( (a = 2) ))
    AND ( (b =1) or (b = 2)))
    how can i use multi group view criteria in jdeveloper10g?

    Hi,
    Did you try with viewcriteriarow.setConjunction?
    http://download.oracle.com/docs/cd/B13597_05/web.904/b10391/oracle/jbo/ViewCriteriaRow.html
    -Arun

  • SAP IDM : Using regex for password

    Hi experts,
    I need your help about regex.
    We are trying to use this to be sure that password set in Web inteface by users are correct according to the company policies :
    - The first character cannot be a number
    - The three first characters cannot be the same
    We finally found the following expression to test what we want (reponse is "true" when one of the policies is ok) :
    (.)(1)|(d)
    But IDM never accept any password with that expression.
    So my questions are :
    1) Does IDM need a special regex language or is it the same than PERL language for example?
    2) Does anybody know how to use regex in our policies case?
    Thanks a lot for your response.
    Regards.
    Jérémy.

    Thanks a lot for your answers.
    Actually, i am already doing my test on another attribut which is not encrypted. but yeah its a good point to know about the encryption.
    I also tried to use evaluators on internet and my expression looks good if i want to catch cases that i dont want in my password...
    as a reminder : (.)(\1)|(\d)
    So if i write :
    "1password"   >> result : true
    "password"     >> result : false
    "pppassword" >> result : true
    "password01" >> result : false
    "passwooord" >> result : false
    but finally if i put that expression in the field "regex" of my attribut, IDM never let me save my new password because it's not a "correct value".
    So im disapointed because i don't how to solve it in IDM but i feel like i found the good expression...
    Any another idea?
    Regards
    Jeremy

  • Serial number question - using Photography monthly subscription

    I use CC Photography subscription. Just restarted my computer and PS will not login. It is asking for a serial number. Where do I find this?

    Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Extract the numbers in string using regex

    Hi,
    How to extract the numers in string using regex?.
    Already i tried split up the string using [\\s]
    For ex: "Uting Tatk and Window Panet 15"
    it gives the ans 15.
    if the string is
    For ex: "Uting Tatk and Window Panet 15 New!"
    i can't find the number.
    so plz give me some idea to get the number frm String.
    Thanks

    I am developing a java project to extract Table of
    content in a particular
    PDF.
    i extracted all topics.
    then i want 2 extract page number from dat extracted
    TOC.
    if the TOC ends with number then i can easily find
    out the number
    but in vain if the TOC ends with like this
    "Uting Tatk and Window Panet 15 New!".
    i could n't find the page number.What will you do if it says:
    "15 ways to find topics 42 new"

  • DW CS5 - Find/Replace using RegEx

    Hello, everyone.
    I am working on some inherited code, and the previous people used some named anchors; some are properly closed, most are not.  There are over 100 of them that I don't want to correct manually.
    Examples:
    <a name="this">
    <a name="that"></a>
    <a name="other">
    <a name="org"> </a> <-- notice the space between
    I am trying to use RegEx in the Find and Replace so I can correct these to all being closed.  Here is the string I'm looking for:
    <a name="([^"]*)["]>[^\w{1,}<\/a>]
    But this is not finding any of the named anchors.  I did have the same thing, minus the [^\w{1,}<\/a> part, but it found ALL the named anchors, closed and not-closed.
    Also, I have (for replacement) <a name="$1"/>, but am not sure if this will properly replace.  Suggestions?
    ^_^

    Anyone?

  • Validating input if nonalphanumeric character without using regex

    Hi Guys,
    I am trying to validate if the user input does not contain any alphanumeric characters such as (A-Z, a-z, 0-9)... The problem was solved through this forum by using regex....
    Unfortunately I'm developing with Blackberry (RIM IDE) but it seems that it doesn't support java.util.regex.Pattern and java.util.regex.Matcher;
    Is there any other solutions to this problem? Can java.util.regex.* be added to Blackberry JDE?
    If anybody knows any solution to this problem...Please let me know...
    Please help... Thanks in advance

    public boolean method(String s) {
        loop over String {
            if (current char is not a valid char) {
                return false;
        return true;
    }

  • Validate a number using regex

    I would like to validate numbers using regex, and thought that a search both here on the net would produce what I was looking for, but...
    The closest I can get to a number validation sequence (thankyou www.interviewjava.com) was the following:
    "^[-+]?[0-9]*\\.?[0-9]+$"
    but unfortunately it is incomplete. The explanation of the code is as follows:
    * ^[-+]? : Starts with an optional “+” or “-” sign. [0-9]* : May have
    * one or more digits. \\.? : May contain an optional “.” (decimal
    * point) character. [0-9]+$ : ends with numeric digit.
    Can anyone point me to a validation sequence that includes the comma for separating thousands? (The comma can appear multiple times, and is always followed by three digits).
    I'd be very grateful for any help on this. Thankyou.

    Thank you very much for your incredibly fast reply.
    Did you cook that up yourself in the seven minutes since I posted the question, or did you have it somewhere ready?

Maybe you are looking for