New-MailboxSearch with AQS for special characters

I've been asked to perform a specific query for a term with a leading dollar sign ('$'): $123,123.00.  When I run the query for a leading dollar sign the keyword search term in the result appears as:
Body:',123.00' 
It doesn't work if I use a backslash literal with the dollar sign either.  The result in the report is:
Body:' \,123.00 ' 
Searching for Body:'123,123.00$' works: 
Body:'123,123.00$'
How do I search for leading special characters? Would '*123,123.00*" find the string I am looking for?

Hi,
I have some tests in my lab:
1. When I run the following cmdlet, it works. I recommend you run the following cmdlet to achieve your search.
New-MailboxSearch -Name "1" -TargetMailbox
[email protected] -SearchQuery "$ 123,123.00"
2. When the SearchQuery is "\123,123.00", it also works.
3. When the SearchQuery is "*123,123.00*", it occurs the error below: Suffix matching isn't supported. Please remove the prefix '*' or type another query. The '*' character is not supported for search.
Hope it helps.
If you need further assistance, please feel free to let me know.
Best regards,
Amy
Amy Wang
TechNet Community Support

Similar Messages

  • I just got tOhe iPhone 4Gs today and had contacts and photos uploaded from another phone synced new phone with iTunes for music and accidentally restored it so all my old iPhone stuff is on the new one is there any way to fix this

    I just got tOhe iPhone 4Gs today and had contacts and photos uploaded from another phone synced new phone with iTunes for music and accidentally restored it so all my old iPhone stuff is on the new one is there any way to fix this ?! Please help !!!!

    Could you be more specific about what exactly do you want to fix now?

  • I am receiving a lot of pop-up ads on website pages. It has only recently started happening. They open new windows with ads for online gambling, online dating and other things. They are annoying and I want them shut off. Please help me

    I have recently started seeing millions of pop-up ads on website pages. It is not something that normally happens. They open new windows with ads for online gambling, online dating among other things. I am growing sick and tired of these ads, and have tried multiple things. I have uninstalled and reinstalled software, I have blocked pop-up ads and unenabled Java script. I have tried everything I could find, but nothing has worked. I have even downloaded AdBlock and Clean Genius. Nothing has even remotely changed this annoying trait. I hope this can be a quick fix I can perform and not something that will have to be done by a tech-hand. Please, if you know anything about this issue, let me know how to fix it.
    Thanks.

    Unfortunately, you have installed malware by clicking on a pop up ad.
    Removal instructions here >>  The Safe Mac » Adware Removal Guide
    Uninstall CleanGenius >  Mac App uninstaller: How to uninstall the Macintosh applications with CleanGenius uninstaller on Mac OS X?
    Third party maintenance utilities are not necessary on a Mac and can actually do more harm than good and cannot remove malware > Mac App uninstaller: How to uninstall the Macintosh applications with CleanGenius uninstaller on Mac OS X?

  • I am with error of special characters in the hour to matter given in BI 7

    Good afternoon, I am with error of special characters in the hour to matter given in BI 7
    <a href="http://img234.imageshack.us/my.php?image=erroau3.jpg" target="_blank"><img src="http://img234.imageshack.us/img234/4083/erroau3.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us" /></a>

    OK....!!!!!
    just download the Excel file (*.xls) and try open with Word-MS. In the document search by the string that you have mentioned in the question. (Use Ctrl +F).
    If you see something like "ABC bla bla ba & instead of  &amp ,  then you have to pass the data through the code I've mentioned.
    You can get more details on encoding special characters UTF-8 in Google.com or Sun Websites etc.
    You can also encode the & in hexadecimal format to get the desired output.

  • Just bought a new iMac, with Lion, for my wife.  When is was wifi with her old iMac on line with it's printer, HP C6200, no problems printing.  Now that it is by itself it does not recognize the C6200...It recognizes my laser hp 1012 and laser hp 6300

    Just bought a new iMac, with Lion, for my wife.  When is was wifi with her old iMac on line with it's printer, HP C6200, no problems printing.  Now that it is by itself it does not recognize the C6200...It recognizes my laser hp 1012 and laser hp 6300 but will not print to them wanting an autenication

    How is the C6200 connected to the iMac, is it via USB or Wi-Fi? If it's via Wi-Fi please make sure it's connected to the router using the printer's Network Wizard. Then click System Preferences - Print & Scan and assuming the iMac is on the same network as the printer, if it is the printer should be seen. If it's not then click the + sign and add the printer. Apple provides instructions in Printing Overview OS X Lion

  • Checking for Special Characters

    I need to check if a textbox in my form containes special characters (entered by user). If there are any, I need to display an error message.
    I have written a function but it's not working.
    here's my function:
    function checkForSpecialChracters(oFiled)
    var userInput = oFiled.rawValue; // take the String entered by the user
    var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
    for (var i = 0; i < userInput.length; i++)
    if (iChars.indexOf(userInput.charAt(i)) != -1) {
    xfa.host.messageBox("Please check for special characters. The following characters are not allowed: @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
    // Change the color of the field
    oFiled.fillColor = "255,100,50";
    Any help would be greatly appreciated.
    Thank you!

    Paul,
    It is working now. I don't know what I might have changed.
    Here's my final function (It works!):
    function checkForSpecialChracters(oFiled)
    var userInput = oFiled.rawValue; // take the String entered by the user
    var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
    var hasSpecialCharacter = false;
    for (var i = 0; i < userInput.length; i++)
    //app.alert("Value is: " + userInput.charAt(i));
    if (iChars.indexOf(userInput.charAt(i)) != -1)
    hasSpecialCharacter = true;
    break;
    } // end if
    } // end For loop
    if (hasSpecialCharacter)
    // Change the color of the field
    oFiled.fillColor = "255,100,50";
    xfa.host.messageBox("Please check for special characters. \n\nThe following characters are not allowed:\n\n @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
    else if (!hasSpecialCharacter)
    oFiled.fillColor = "255,255,255";

  • Text edit- Keystrokes for special characters

    They've changed the keystroke I use to use for making a checkmark.  It was 'Option v'.  Now it's not.  Is there a chart somewhere showing what teh keystrokes are now for special characters?  Thanks so much for any help.
    -Thom

    Okay, I found this, http://support.apple.com/kb/PH10758?viewlocale=en_US .  Which gives me the Edit/Special Characters.  But I still do not find any keystrokes to make my checkmark.

  • Bug in APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT for special characters?

    Hi,
    I am using APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT to download reports from BI-Publisher. But with special characters, and only if the filename is to long, the filename is in Firefox 10.0.2 not correct. In IE9 its running fine. I am not sure if its only a browser-problem or a problem with APEX.
    Here is the code:
    declare
        v_filename varchar2(1000);
    begin
        v_filename := 'Umlaut ü 123456789012345678901234567890123';
        APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT (p_file_name => v_filename,
                                           p_content_disposition => 'attachment',
                                           p_application_id      => :APP_ID,
                                           p_report_query_name   => 'Checkliste',
                                           p_report_layout_name  => 'Checkliste',
                                           p_report_layout_type  => 'rtf',
                                           p_document_format     => 'pdf');
    end;With
    Umlaut ü 123456789012345678901234567890123its working and I get a file named "Umlaut ü 123456789012345678901234567890123.pdf".
    But with
    Umlaut ü 1234567890123456789012345678901234(one character longer) its not working and I get a file named "=_utf-8_B_VW1sYXV0IMO8IDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQucGRm".
    If I change the ü to ue I have no problems, even with much longer filenames.
    Very strange, isnt it?
    Any ideas for this?
    Kind Regadrs,
    Mark

    Hi,
    it does not work all fine with the IE. The following is not working both browser (firefox and IE):
        APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT (p_file_name => 'Objektpruefung 02.08.2010 1000.pdf',
                                           p_content_disposition => 'attachment',
                                           p_application_id      => :APP_ID,
                                           p_report_query_name   => 'AnlagenCheckliste',
                                           p_report_layout_name  => 'AnlagenCheckliste',
                                           p_report_layout_type  => 'rtf',
                                           p_document_format     => 'pdf');The filename is then "Objektpruefung 02..pdf".
    Can anybody help me?
    Regards,
    Mark

  • JSP diplays shows junk for special characters.

    JSP Gurus,
    After upgrading the JRE version of my Tomcat from 1.3.1 to 1.4, all the JSP files have started displaying junk characters for the special characters (like ?, ?). These characters are being pulled from database. If I replace these characters with their ascii values, it works fine but there was no problem with the JRE 1.3.1. I have alot of data with these characters in the datbase. What is the easiest way to display these characters with JRE 1.4.
    Thanks,
    AG

    No One?!?

  • Dynamic insert for Special Characters

    Hello,
    I'm running into a problem inserting data with Special Characters. I have a report (designed oracle reports), that takes data and inserts the data into table. I use the SRW.do_sql built in package in a before report trigger to process the data. However the problem that I'm running into is how to dynamically account for the special characters in a description field that I have. There is no way for me to predict where or how many can appear in a field. For example, I may have a field that contains data like:
    O'REILLY AND ASSOCIATES INC.
    OR
    FULLER & D'ALBERT, INC.
    OR
    JOANNE'S BED & BACK SHOP
    The only special characters that seem to be used and are causing me problems are the " ' " and " & ".
    Does anyone know how I can dynamically account for these special characters in my insert statement?
    Thanks,
    Martin

    Hello,
    I'm using SRW.DO_SQL procedure in oracle reports because that is one you can run text via reports. The report actually exports the results to a text file and insert the results into a table. Anyway, the SRW.DO_SQL isn't my problem but rather the special characters. I have researched the problem some more and I have found a solution. You can use the "replace" feature to do an insert/update of special characters. You also need to find the character number for each special character. I believe "&" is chr(38), "%" is chr(37), "#" is chr(35), "@" is chr(64), "'" is char(39). So the code would be:
    insert into tableA (column1) values(
    replace(replace(replace(replace(replace(v_entity_name,chr(39),chr(39)),chr(38),chr(38)),chr(35),chr(35)),chr(37),chr(37)),chr(64),chr(64));
    Martin

  • Find out the sql query for special characters.

    Hi,
    I have the emp table with column name first_name.In that table i have lot records with first_name inlcudes the below mentioned special characters.
    ¡ , ¿, ,Ä,Å,ä,ª,À,Á,Ã,à,á,ã,å,Æ,æ,Ç,ç,È,É,Ê,Ë,è,é,ê,ë,Ì,Í,Î, Ï,ì,í,î,ï, Ñ,ñ, ô, º, Ò, Ó, Ô, Õ, Ö, Ø, ò, ó, õ, ö, ø, ß, Û, Ù, Ú, Ü,ù, ú, û, ü, ÿ,
    I am looking for the records with includes the above mentioned special characters in the first_name column.
    Can u please give the sql query to find out the records.
    Thanks&Regards
    N.Sivaraman

    I am looking for the records with includes the above mentioned special characters in the first_name column.One way would be:
    select emp.*
      from emp,
           table (
             sys.odcivarchar2list ('¡',
                                   'Ä',
                                   'Å',
                                   'ä',
                                   'ª',
                                   'À',
                                   'Á',
                                   'Ã',
                                   'à',
                                   'á',
                                   'ã',
                                   'å',
                                   'Æ',
                                   'æ',
                                   'Ç',
                                   'ç',
                                   'È',
                                   'É',
                                   'Ê',
                                   'Ë',
                                   'è',
                                   'é',
                                   'ê',
                                   'ë',
                                   'Ì',
                                   'Í',
                                   'Î',
                                   'Ï',
                                   'ì',
                                   'í',
                                   'î',
                                   'ï',
                                   'Ñ',
                                   'ñ',
                                   'ô',
                                   'º',
                                   'Ò',
                                   'Ó',
                                   'Ô',
                                   'Õ',
                                   'Ö',
                                   'Ø',
                                   'ò',
                                   'ó',
                                   'õ',
                                   'ö',
                                   'ø',
                                   'ß',
                                   'Û',
                                   'Ù',
                                   'Ú',
                                   'Ü',
                                   'ù',
                                   'ú',
                                   'û',
                                   'ü',
                                   'ÿ'
    where instr (ename, column_value) > 0

  • Keystroke combinations needed for special characters in specific fonts?

    How do you see the required keystrokes to enter special characters? Very frustrating!!! Using Pages to help my wife create a brochure. We wanted to use one of the symbols available in the font "Type Embellishments One LET" (which I assume installed with Pages). In Font Book we could see all the possible characters BUT NOT HOW TO TYPE THEM. We ended up typing scores of keys and keystroke combinations to finally see the one we wanted, then use cut and paste. There must be a better way but we (along with some Mac Support people at my work) cannot find it.
    Is there a way to do this without buying a program like PopChar. Seems like this should be fundamental to using a Mac out of the box.
    Thank you for any suggestions.

    You can use "Keyboard Viewer" to see what characters are created with various keystrokes. Open the International Preference Pane, click on the Input Menu tab & click the box next to Keyboard Viewer. This will make this available in your menu bar by clicking the flag icon. Select "Show Keyboard Viewer" from the flag menu & you will see a layout of the keyboard. You can then hold down the shift key, the option key OR shift + option to see all the possibilities. The highlighted ones are the accents than you can apply to letters. To get "é" type option-e (nothing will appear), then type e. This accent could be place over most letters. You can change the font in the drop-down menu. Not all fonts will have all characters. Keyboard Viewer places the typing directly into the top, open document.

  • A problem with regex and special characters

    Hello,
    I am using regex in my application but i have a problem with special characters. Here is the explanation of what i am doing:
    I have a certain piece of text that i want to parse and replace every occurrence of a given word with some sort of a tag which have the word found inside it.
    so that: go Going Go to gOschool by bus and to learn and to play GO Go
    and i need to replace the word "go" (case insensitive and only at word boundaries) should be:
    *<start>go<end> Going <start>Go<end> to gOschool by bus and to learn and to play <start>GO<end> <start>Go<end>*
    Consider the following code and call the method with the parameter"go?"
    The Matcher finds a weird match at the word "G?oing" with only the letter G !!!
    It also ignores the "?" in the pattern completely.
    Any clue of what is happening i would be very grateful...
    private static String replaceMatches(String strToFind)
            String resultArticle="";
            String article = " "+"go? G?oing Go? to gOschool by bus and to learn and to play GO? Go?*"+" ";
            strToFind = "\\b"+ strToFind +"\\b";
            String linkPart1= "<start>";
            String linkPart2 = "<end>";
            Pattern p = null;
            try{
                p=Pattern.compile(strToFind, Pattern.CASE_INSENSITIVE);
            Matcher m = p.matcher(article);
            String[] res = p.split(article);
            int i=0;
            //System.out.println("result of split: "+res.length );
            while(m.find())
                resultArticle+=(res[i]+" ");
                resultArticle+=linkPart1;
                resultArticle+=m.group().trim();
                resultArticle+=(linkPart2+" ");
                i++;
            if(i<res.length)
                resultArticle+=res;
    //System.out.println("result of match: " + i);
    System.out.println(article);
    //System.out.println(resultArticle.trim()+scripts);
    catch(PatternSyntaxException ex){}
    return resultArticle.trim();
    }Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    tarek.mamdouh wrote:
    because split will not work when trying to replace the first word if i don't append a space at the beginning.Split doesn't work anyway. And my question wasn't why do you add spaces (which you really don't need to do), but why do you do them with " " + "go" rather than just " go"
    replaceAll will replace all the occurrences in the text with only one word. without taking into consideration the case of the word i need to replace.No.
    >
    If i use replacaAll(article, strToFind) the output will be:
    <start>go?<end> G?oing <start>go?<end> to gOschool by bus and to learn and to play <start>go?<end> <start>go?<end>No. I showed you the actual output of an actual replaceAll.
    which is not what i want as i need to keep the case of the words i am replacingThe replaceAll I showed you does that.
    Please study the examples given and read the docs carefully rather than making claims based on inaccurate guesses.

  • Can't open a new tab with the + for tabs. Can open with Mid mouse button. Nightly.

    When I click The + to open a new tab in Nightly, it does nothing. I can open new tabs with mid ouse button, or right click>open in new tab. Just cant open a new tab via the + button. Started 3 updates ago in nightly (3 days ago pretty much).

    Are you using a 32 bit Nightly build or a 64 bit Nightly build?
    The 64 bit Nightly build for Windows is only generated to test for compilation errors and doesn't undergo all the tests that other builds get, so the risk that something goes wrong can be quite high.<br />
    So if you do use the 64 bit version then try the 32 bit version to see if you still have this problem.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Export Database With Password Containing Special Characters

    Hi,
    I'm doing a database export using the command:
    exp userid=user/pass@instance parfile=exp_parms.dat
    The problem is that the password contains special characters so the command fails with a syntax error. The command works perfectly fine when I run it without the password and just type it in when prompted, but I need to include the password in the command because I am running it in a batch file. I've tried using the escape character (\), but this results in a username-password mismatch.
    Is there some way of declaring a password containing special characters in the 'exp' command?
    ...Thanks in advanced!

    Hi,
    I'm using linux and this is how I did it.
    I created a user named ddg with a password ddg)ddg
    I did my expdp command like:
    expdp ddg/"ddg\)ddg" directory=dpump_dir dumpfile=ddg.dmp
    Put the password in double quotes and escape the funny character with a \
    Hope this helps.
    Dean

Maybe you are looking for

  • Thread pool executor problem

    When using a thread pool executor (java.util.concurrent.ThreadPoolExecutor) to limit the number of threads executing at a time, the number of threads running still exceeds the limit number. This is the code: private ThreadPoolExecutor threadPoolExecu

  • Problem w/ Dell webcam monitor

    I bought a Dell SP2008 LCD ws monitor w/ webcam recently, but my Mac Mini (running Parallel 3.0 & XP Home) has problem using the webcam. I spent 4 hours w/ the tech. guy at Dell, & he concluded that the chipset & audio drivers of the Mac Mini need to

  • Slow Reader printing

    All of a sudden printing a PDF has become excruciatingly slow. It has always been a little slow, but now it is much worse. Adobe Reader 8 - Mac G5 OS 10.4.11

  • Can't import pictures to iPhoto.

    Can't import pictures to iPhoto. It says I already am, but I'm not.

  • Backup with out icloud

    I am new to deploying iPads for my end users and seem to be running into a few obstacles. We have many offices that will use many iPads in different ways. I am estimating that there will be roughly 5 different backups that I will need to make for the