Help needed to add the hyphen in REGEXP_REPLACE

Hi all
I need a help to add the hyphen in my selection criteria so that it does not filter the hyphen.
I use below REGEXP_REPLACE get my result, everything's fine now except the hyphen (-) character is not recognized.

Select REGEXP_REPLACE ('abcd - efgh123 {} $ (), ',' [^ [a - z, A - Z, 0-9, (,), {,}, _, $,., ", [: space:]]] *',") twice;

Can you please help?

Thank you

If you want to keep the hyphen in your string, you can use sth. as

select REGEXP_REPLACE('abcd-efgh123{}$(),', '[^a-zA-Z0-9(){}_$.,''[:space:]-]*','') from dual

Best regards

Maxim

Tags: Database

Similar Questions

  • I lost my ipad I need to add the device to icloud by using the serial number. Can I do this?

    I lost my ipad I need to add the device to icloud by using the serial number. Can I do this?

    N ° you can not add it without physical access to the device.

  • I need to add the number of words in my TextEdit. Suggestions?

    I need to add the number of words in my TextEdit. Suggestions?

    This can be useful:

    Number of words in TextEdit

  • Anyone know the activation servers? I'm running a proxy and need to add the remote addresses

    Just need a list of host names the application communicates with for the activation of the license.

    Currently, all of our users are running through a proxy and we need connect to the activation servers.

    Hello

    Please see CC help | Package manager

    There is a list of ports and URLs that you can whitelist.

    Kind regards

    Sheena

  • Help needed - "cannot download the folio on your local drive.

    Hello

    (WARNING: for the first time post :-))

    I have trouble downloading my folio published. During the last 24 hours I repeatedly get the following error (after a long wait with the status 'Preparation content by downloading... ") on different computers (Mac/PC) and browsers:

    An error occurred during the export of the folio

    Could not download the folio on your local drive

    My first version is delivered to an Android app (created using the viewer Builder) and has been incorporated into an iOS app (also created using View Designer).  All this worked without any problems and I can export this now.

    In order to optimize the folio for the new iPad, I decided to use the PDF option that required me to rebuild the folio.  The content is identical to the bar a few dates changed from 2011 to 2012.  I just need to export the folio so I can incorporate into an update iOS application.  The folio is not (at this stage) given to the Android app.

    I hope someone can help :-)

    Andrew

    Edit: Using the new Adobe Content Viewer I see TWO versions of the folio - one with the lightning bolt blue - but maybe that's normal?

    Hi Philippe,.

    Thanks for the reply.  After a lot of testing, I discovered that my preview of the cover images were the problem.  I've been using PNG files and when I used the versions JPG export worked.

    Maybe that's a one-time problem, but I thought I'd share the solution in any case.

    Kind regards

    Andrew

  • need help, need to add a button to remove my request?

    I have a small application that you can add numbers and email friends too

    I would add a negative sign selection/input button?

    any of you guys have any ideas?

    Stop();

    create a sql login
    var conn: SQLConnection = new SqlConnection ();


    Add an event for the open event handeler
    conn.addEventListener (SQLEvent.OPEN, openHandler);
    create the database if it does not exist, if not just to open it
    var dbFile:File = File.applicationDirectory.resolvePath ('exemplu.db');
    conn.openAsync (dbFile);


    function openHandler(event:SQLEvent):void {}
    create a new sql statement
    var sql:SQLStatement = new SQLStatement();
    the value of education to connect to our database
    sql.sqlConnection = conn;
    analyze the sql command that creates the table if there is no
    SQL. Text = "CREATE TABLE If NOT EXISTS contact ("+ ".
    ' id INTEGER PRIMARY KEY AUTOINCREMENT, ' +.
    "digital TEXT +,
    "telefon) INTEGER";


    Add a new listener to the event to the sql when it is finished creating the table
    sql.addEventListener (SQLEvent.RESULT, retrieveData);
    call the execute function to execute our statement
    SQL. Execute();
    }

    function retrieveData(event:SQLEvent_=_null):void {}
    create a new sql tasks
    var sql:SQLStatement = new SQLStatement();
    sql.sqlConnection = conn;
    This sql command retrieves all the fields of our
    table in the database and it sorts by name
    SQL. Text = "SELECT id, digital", +
    "telefon".
    "OF contact ORDER BY name ';
    Add a new listener to the event, if there is data
    to view it
    sql.addEventListener (SQLEvent.RESULT, selectHandler);
    SQL. Execute();
    }

    function selectHandler(event:SQLEvent):void {}
    first to erase us from our list
    lister.removeAll ();
    We create it an outcome variable that holds
    all our contacts
    var result:SQLResult=event.target.getResult();
    We check if the results is not empty
    If (result! = null & & result.data! = null) {}
    and we have added a new element of our list for
    each contact in our database
    for (var i: Number = 0; i < result.data.length; i ++) {}
    lister.addItem ({label: result.data [i] .nume + '-' + result.data [i] .telefon})
    Nr:result.data[i].id});
    }
    }
    }

    plus.addEventListener (MouseEvent.CLICK, adder);
    xu.addEventListener (MouseEvent.CLICK, closeapp);
    back.addEventListener (MouseEvent.MOUSE_DOWN, drag);

    because my buttons are not the real buttons
    but movieclips I need to put the
    the buttonMode property
    plus.buttonMode = true;
    xu.buttonMode = true;

    function adder(e:MouseEvent):void {}
    Remove the eventlistener and move to the
    next image
    plus.removeEventListener (MouseEvent.CLICK, adder);
    nextFrame();
    }

    function closeapp(e:MouseEvent):void {}
    Close the application
    NativeApplication.nativeApplication.exit ();
    }

    function drag(e:MouseEvent):void {}
    Drag the application
    this.stage.nativeWindow.startMove ();
    }

    it's on the second keyframe-

    This line restricts user input
    for a few numbers in the input box phone

    Add a new listener to the event to our button "+"
    plus.addEventListener (MouseEvent.CLICK, adder2);

    function adder2(e:MouseEvent):void {}
    create a new sql statement variable
    var sql:SQLStatement = new SQLStatement();
    sql.sqlConnection = conn;


    the following sql command creates a new entry
    in contacts him our database table
    SQL. Text = "INSERT INTO contacts (digital,"+).
    "telefon) +.
    "VALUES (@nume,"+).

    "@telefon);


    to insert variables in sql commnads
    We use the definition of parameters
    SQL. Parameters["@Nume"]=Nume. Text;
    SQL. Parameters["@Telefon"]=Tel. Text;


    Add a new event listener that calls the
    function that retrieves data
    sql.addEventListener (SQLEvent.RESULT, retrieveData);
    SQL. Execute();
    go to section no. 1
    prevFrame();


    Remove the eventlistener to our button "+"
    plus.removeEventListener (MouseEvent.CLICK, adder2);
    }

    use:

    minus_btn.addEventListener (Event.MouseEvent, CLICK, clear)

    function clear (e:MouseEvent) {}

    var sql:SQLStatement = new SQLStatement();
    sql.sqlConnection = conn;

    var s:String = "REMOVE from contacts WHERE digital =: numeparam AND telefon =: telefonparam";

    SQL.text = s;
    SQL. Parameters ["': numeparam '"] = either;
    SQL. Parameters ["': telefonparam '"] = what;

    If you want to add listeners

    SQL. Execute();

    }

  • SQL queries for reports help: need to reverse the data in the column in columns [O

    Hi all

    I'm looking for help in writing SQL, where I need to reverse the data in the columns column.

    My data in DB is as below.

    VALUE OF NAME OF MONTH
    Jan-10 M1 5
    Jan-10 M2 8
    Jan-10 M3 9
    Feb-10 M1 4
    Feb-10 M2 6
    Feb-10 M3 2
    M4 10 Feb 10
    M1 10 Mar 21
    Mar-10 M2 6

    Power required for the declaration will be like:


    MONTHS M1 M2 M3 M4
    Jan-10 5 8 9
    Feb-10 4 6 2 10
    21 Mar-10 6

    How can I do this using SQL. [ORACLE 10g]?

    I can make use of server Oracle BI also.

    Please help me on this...

    I think this is wrong forum to ask this question. You want to do it in OBIEE or at the DB level. In oBIEE you can do in a table privot view.

    Thnaks,
    Knani

  • You will need to add the number of days to the end date of the users.

    Hello
    I have a code where we adding the number of days (30) to the current date and update IDM DB user end date.
    Now, we have a requirement to add the number of days (30) to the existing fence of user instead of add to the current date.

    * public String incrementDate (int daysToAdd)
    {
    Start date
    log.info("NotifyLastDayOfService::incrementDate(): entrez»);
    SimpleDateFormat sdf = new SimpleDateFormat ("yyyy-MM-DD 00:00:00");
    Calendar c = Calendar.GetInstance ();
    c.Add (Calendar.DATE, daysToAdd); number of days to add
    String PROMOTIONDate = sdf.format (c.getTime ());
    log.info("NotifyLastDayOfService::incrementDate(): sortie»);
    return Nouvelle_date;
    }*/

    Have any body set up this scenario?
    Please suggest.


    Thank you
    Kalpana.

    You can try this as well

    where oimAttribute = "Users.End Date"

    public String updateOIMAttributeForDateType (String oimAttribute, Date endDate, long take, String daysToAdd)
    {
    tcUserOperationsIntf userOperationsIntf = null;
    HashMap modifyMap = new HashMap ();
    HashMap searchmap = new HashMap ();
    SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-DD hh: mm :"); ")
              
    try {}
    Calander cal = null;
    cal.setTime (endDate);
    Cal.Add (Calendar.DATE, Integer.parseInt (daysToAdd));
    Date Edate = cal.getTime ();

    modifyMap.put (oimAttribute, Edate);
    searchmap.put ("Users.Key", String.valueOf (take));
    userOperationsIntf = Platform.getService (tcUserOperationsIntf.class);
    tcResultSet searchset = (searchmap) userOperationsIntf.findAllUsers;
    userOperationsIntf.updateUser (searchset, modifyMap);
    return a SUCCESS;
    } catch (Exception e) {}
    If (Logger.isErrorEnabled ()) logger.error (e.getMessage ());
    error return;
    } {Finally
    try {}
    If (userOperationsIntf! = null) userOperationsIntf.close ();
    } catch (Exception e) {if (logger.isErrorEnabled ()) logger.error (e.getMessage ()) ;}}
    }

  • Help - need to consolidate the partitions on the hard disk after system recovery

    There are 4 partitions on my laptop Lenovo w/Vista. They are the main with the system OS etc. files partition, then an extended 9.7 GB partition labeled volume D: 98 GB of unallocated space and then finally the OEM with the recovery image section. I want to create a partition that is important as the C: volume with all that on it. The only other partition would be the volume of the OEM. Now when I try to use the unallocated space (create a simple volume with quick format) it says the operation cannot be completed because there is not enough space on the hard drive; that cannot be true because the unallocated space is 98 GB +. I got the OS to the factory setting thinking that it would be re - format the hard disk for the installation of 2 original score. No luck. I need help! We cannot add a lot of apps of software in the form of program files before the C: drive runs out of space. Help!

    http://social.answers.Microsoft.com/forums/en-us/vistahardware/thread/95190cc5-B448-4a93-98ed-9a1e5c2354fb

    Answered in the other Forum.

    Mick Murphy - Microsoft partner

  • Need help, need to install the SSD Samsung 830 on my HDX16T

    I have a laptop HP Hdx16t Entertainment, and I was wondering if someone can explain what I need, or how to install until I open it myself. Right now all I have is real laptop and the Samsung 830 256 gb SSD. Do I need other cables of? or the disk hard is just snap? It's an easy task? I have never replaced one of front. Any help would be greatly appreciated. Sorry for my noob question.

    Hello:

    It should be pretty easy to do it yourself.

    Here is the link to the service manual for your laptop.

    http://h10032.www1.HP.com/CTG/manual/c01612461.PDF

    See Chapter 4 for R & R procedures.

    You must transfer the material from the original to your new SSD (caddy, connector and screws).

    Paul

  • I have creative cloud and use Photoshop.  I need to add the word... is it possible?

    I find that I need Word more and he wanted to add to my creative cloud, if that was possible.  I can't find where to go to add it help... need.  Thanks in advance!

    Word is a microsoft, adobe, program.

  • Help needed to upgrade the CLI Version of power...

    Dear team,

    I need your help to upgrade my powercli API, here are the details

    PowerCLI installed (ver. 5.0.0.3501)

    OS: win2k3

    for the most part all ESX worm is 4.1.0 260247

    vCenter version: 4.1.0 (258902) and 345043

    When I opened powercli it takes a long time to open (about 15 minutes)... and following is the blink of an eye the same.

    pcl.JPG

    for the new version of powercli, please help me with he download link = the same thing.

    concerning

    Mr. VMware

    Because I would upgrade PowerShell first PowerCLI is based on PowerShell. Although I don't know if it's important.

    ESX 4.1 is not mentioned in the VMware vSphere PowerCLI 5.1 Release 1 Release Notes. This means that it is not supported. In this case, you can better keep PowerCLI 5.0. Or upgrade to PowerCLI 5.0.1 you can download from http://www.vmware.com/downloads/download.do?downloadGroup=PCLI501.

  • Help needed to convert the ArrayList collection ArrayCollection


    I am converting an ArrayList (Java) to the collection of Flex ArrayCollection.
    Please help me in this, I don't know whether there is a correct approach

    I have a created a class user VO ActionScript Flex with two properties as uname, pass.

    [Bindable]
    var result: ArrayCollection collection

    private void displayDetails(event:ResultEvent):void
    {
    result = event.result as ArrayCollection collection;
    }


    < mx:DataGrid dataProvider = "{result}" >
    < mx:columns >
    < mx:DataGridColumn headerText = "UserName" dataField = "uname" / >
    < mx:DataGridColumn headerText = "Password" dataField = "pass" / >

    < / mx:columns >
    < / mx:DataGrid >

    It's my DAO of Java file:


    ResultSet rs = stmt.executeQuery ("select NAME, PAST by users");
    list = new ArrayList();
    While (RS. Next {}
    User user = new User();
    user.setUname (rs.getString (1));
    user.setPass (rs.getString (2));
    List.Add (User);

    }


    back list;

    With the code below, the DataGrid displays is empty without data, please help me where I am wrong doung

    I have to do something more? The data comes on the lcds Server console.

    Help, please.

    Hi Kiran,

    Try this once...

    private void displayDetails(event:ResultEvent):void
    {
    result = new collection ArrayCollection (event.result as Array);

    }

    Just try to debug by placing the stop point and make sure that you have found event.result as array... If not, then change your code accordingly.

    Thank you

    Jean Claude

  • Help needed to unlock the phone

    Hello

    I recently bought a Dell coming Pro in the States and he brought back to Mexico City, the problem is that the phone is locked to AT & T, I want to know if I can get the unlock through Dell customer service code or if I have to settle this with AT & T.

    Any help would be appreciated, I m wanting to use my new camera.

    ergheiz,

    In an e-mail, send number IMEU and ask [email protected] that they can send you an e-mail.

    Rick

  • BlackBerry Smartphones Help needed - cannot locate the registration key

    I bought airs for BB and while downloading I was ask to reboot the phone to finish the installation.  At the same time, shortly before the phone went to re-boot modus, the registration key popped up. I have not had a chance to write the key.  After that phone came back to life, the software has been installed but I'm not able to locate the Reg key...  I see the application in my world, but when I go to details Appl. World educated upwards again and ask me to run or buying the software! WO can help?

    I got my money back.

Maybe you are looking for

  • Satellite Pro L550-199: how to configure the touchpad + activate WLan in Win 8.1

    Hello I can't find any driver as Windows 8.1.Is not so bad, if I have an idea, how I can turn on and turn off the WLAN (FN + F8 key) module and how do I configure the touchpad. I would like to disable the click of the surface of the Panel.Click on sh

  • Official position of Motorola Android 4.0 or ICS and Atrix2?

    Every day, manufacturers are providing official position or Intentions, regarding the device to upgrade to the new Android 4.0 or ICS. Said Motorola officially that Atrix2 will be updated to the new operating system, and possibly when?

  • Problem with keyboard mini 210

    Hi, I just installed a replacement fan/radiator and put everything back together, but now the keyboard does not work.  The button "mute" on the F11 key has a light that lights up again, but none of the keys respond.  FilterKeys is not turned on and I

  • Allow specific characters - Regular Expression

    Hello everyone I am new to the regular expression and I have a very simple question. I use the function "read from the text file" to load a file delimited by tabs with 3 columns in my VI. Then, the string is converted to table and I use the values. N

  • Problem with the creation of text file 9530 unit

    Hello I created the text file in the memory of the device "file:///store/home/user/sample/mytext.txt" with a text using my application. He created the file with the extension "mytext.txt.rem". While I couldn't able to read the same file. I tested the