How to remove spaces between two separators

Hi all

How to remove the spaces between two separators, but space is required between the characters.

I have an input as string below

"# ABC DEF GHI # JKLMN.

Expected string as below. Here the space between DEF GHI is required, but other spaces must remove.

"ABC #DEF #JKLMN GHI".

I tried with REPLACE it but it removes all spaces and this is a mistake.

REPLACE ('ABC # DEF GHI # JKLMN', ' ')

Please guide me. Thank you.

For example, if the hash/pound symbol may not have a space before and after, then you need to change the regular expression to use ' * ' instead of ' + '...

SQL > ed
A written file afiedt.buf

1 Select trim (regexp_replace ('ABC # DEF GHI #JKLMN',' (* # *) ',' #'))
2 * of the double
SQL > /.

(REGEXP_REPLA TRIM
-----------------
ABC #DEF #JKLMN GHI

Always be clear in your requirements.

Re: 2. How can I ask a question in the forums?

Tags: Database

Similar Questions

  • I removed everything between two separators of Firefox and now cannot place anything between them; How can I bookmark it?

    After a hard disk crash I reinstall Firefox (without saving). I moved "Recent Tags" between the default separators above the bookmarks Menu box and find, I now can't put anything in the space when the "Show all bookmarks" box is open. Given that space exists, how can I make this functional space by putting something here?

    "Show your bookmarks" drop gift list shows some default you can't delete entries (menus) and other elements that are located in the Menu folder bookmarks.
    You can check if you have a splitter directly in the upper part of the Menu folder bookmarks by selecting this folder in the left pane of the Manager of bookmarks (library).

  • How to remove the white space between two response reports

    How to remove the white space between two response reports

    In the section of dashboard, I have 2 rqeuest. Each query returns Table view. When I view the dashboard, it shows a blank separating 2 table views. How can I get rid of the band of white/white space?

    See this link

    Re: Remove the space between the two reports on the dashboard page OBIEE Section

    Kind regards
    Sandeep

  • How to remove the extra space between two Table HTML

    Hello

    I wrote a code for printing costs. But there is more space between two Table Html, how I can remove it.

    Please run that Code

    Start

    HTP.p (')
    < html >
    (< body > ');

    HTP.p (')
    < TABLE align = "left" width = "500" cellspacing = "0" cellpadding = "0" border = "1" >
    < tr > < td align = 'right' white-space: nowrap; > Ph-2201751 < table >
    < td > < table >
    < /tr >
    < tr > < td align = "center" white-space: nowrap; > < B > < table > < /B > SATYAM MODERN PUBLIC SCHOOL
    < td > < table >
    < /tr >
    < b >
    < td align = "center" white-space: nowrap; > < i > < H3 > (AFFILIATED to THE CBSC, NEW DELHI CODE No. 53544) < / H3 > < /I > < table >
    < td > < table >
    < /tr >
    < tr > < td align = "center" white-space: nowrap; > new colony Braham, - 131001 (h) < table >
    < td > < table >
    < /tr >
    < tr > < td align = "center" white-space: nowrap; > RECEPTION COSTS < table >
    < td > < table >
    < /tr >
    < /table >
    < TABLE width = "500" cellspacing = "0" cellpadding = "0" border = "1" >
    < b >
    < td width = "100" white-space: nowrap; > receipt no.: < table >
    < td width = "100" white-space: nowrap; > Date received: < table >
    < /tr >
    < b >
    < td width = "100" white-space: nowrap; > name: < table >
    < td width = "100" white-space: nowrap; > father name: < table >
    < /tr >
    < b >
    < td width = "100" white-space: nowrap; > class & s: < table >
    < td width = "100" white-space: nowrap; > A/C No. : < table >
    < /tr >
    < b >
    < td width = "100" white-space: nowrap; > from: < table >
    < td width = "100" white-space: nowrap; > to: < table >
    < /tr >

    (< /table > ');
    HTP.p (')
    < / body >
    (< / html > ');
    end;


    Thank you

    Ed

    Hello

    HTML is valid, that your code print?

    
    

    Wouldn't be as below?

    
    

    BR, Jari

    Published by: jarola on December 18, 2009 15:22
    I test your code
    http://Apex.Oracle.com/pls/OTN/f?p=40323:25
    I can't see any extra space between the tables

  • I have just re installed Windows XP. Windows installed after three attempts. When I turn on the computer there are three choices of Windows XP. Only the first works how to remove the other two?

    I have just re installed Windows XP. Windows installed after three attempts. When I turn on the computer there are three choices of Windows XP. Only the first works how to remove the other two?

    I have a hard drive. At least two partitions. C: 74.7 GB with 63.3 freespace
    D: 74.2 GB with 70.6 freespace
    These are my original specifications of the hard drive: 160 GB (7200 RPM) SERIAL ATA HARD DRIVE WI
    So I suspect there are at least one or more partitions hidden leaving 11.1 GB for hidden partitions!
    Windows is present on both drives C: & D:. In the directory windows on C:, the oldest entry is 19.12.12, 21.43 last 21.12.12, 22.50
    The first entry in the directory windows on D: is 19.12.12, 18.42 the last 21.12.12, 22.40
    I hope that makes sense to someone, any help gratefully received!

    As long as you have verified you dΘmarrez done on the c: / partition, Yes, you can reformat the drive D: / partition using Windows 'disk management '.

    J W Stuart: http://www.pagestart.com

  • The space between two different paragraph style

    Hello!

    I'm working on a book, and I would like to first of all a standard space between two paragraph styles.

    I have the paragraph of text and the reference point. I would like to put an extra space when a paragraph of text is followed by a reference point and vice versa.

    I usually do it in html with CSS, it's like

    p.text + p.citation {pad-bottom: 5px;} 
    

    My goal is to have a space between the text and citations, even if citations are multi point (and of course, without any paragraph empty additional)

    Is this possible?

    concerning

    Lila

    You probably need to two additional styles to represent the paragraph "first" that uses the text or styles of citation, with spacing before added, and text or reference style defined as following Style, like matches, for each, so that you can use for the first paragraph after a change. You can base teas on current styles and just add space.

  • Space between two regions

    Hello
    I use Apex 4.1, them 24.
    I have two regions, one in column 1 and the other in column 2. My problem is that there is no space between two region, is it possible to define this space without creating a new zone of empty space between them?

    Hello

    It depends on your page template. In General,.
    Don't use columns.
    Use the same column for both regions.
    use the same point on the screen.
    in the attributes of the region A region, put this:

    Style = "width: 45%; margin-right: 2%; ' float: left '.

    in the region of the attributes of region B, put this:

    Style = "width: 45%; float: left; "clear: No.

    -change the percentages at your convenience, but make sure that the sum of all the numbers does not exceed 100.
    However,.
    Please check the attributes of the region of the regions on the first page of the sample application. (After changing the theme of this app in topic 24)

    Kind regards
    Fateh

    Published by: Fateh on 19 October 2012 23:40

  • Space between two words is not properly considered by WXE_AdjacentSpace!

    Hi, in my acrobat plugin, use the following line to judge if there is a space between two words as based on what I have to join two words.

    attrWord = PDWordGetAttr (pdWord);

    bHasAdjacentSpace = (attrWord & WXE_AdjacentSpace);

    But for the two words in a particular PDF document, it gives a correct result. Although visually, I see that there is a space between these words, but the above method means that there is NO space between the two.

    Could you please let me know what's going wrong here?

    Or if is there any other way to judge precisely the space between the two words, and if they need to be joined or not?

    You can get the bounding box (Quads) for each word you get home and they take your own decision as to the amount of white space is acceptable to join to...

  • How to remove the hairline of white space between two forms in color

    I'm setting up a complex visual image in Illustrator. I used the processing step and repeat certain geometric shapes, and then color them in with the paint bucket using a swatch file direct. Then I deleted the original geometric shape contours, leaving just the plug-in software component color fill. Everything is great, except in two or three apparently random locations there is a hairline white between two forms of color component software plug-in. I don't want to change the dimensions of the forms to try to hide the white space, because who is going to introduce another problem. Any suggestions?

    You can butt them using the spacing to distribute at the bottom of the palette alignment function.

    Select your items, and then click one of them to designate it as the 'key' object (this is one that will stay in place while others move in relationship with him according to your actions).

    If the Align Panel is not slammed shut, choose window > align.

    If the spacing section distribute is not visible at the bottom of the alignment palette, choose Show Options in the Panel menu.

    The spacing value to distribute the value 0. Set align it: the Key object alignment option

    Click on the button appropriate to spread (horizontal or vertical).

  • How to reduce the space between two lines in a panelformlayout who is lain in the panelbox?

    Mr President.

    I have a panelbox in which I put a panelformlayout which have two rows as below

    panelformspace.png

    I want to reduce the space between inputfield first and second inputfield.

    Thus, this second inputfield closer to the first inputfield

    Respect of

    You can define simple = true in the first entry field (name), sorround who on the ground with panelLabelAndMessage and add the second inputField (address) about to end of panelLabelAndMessage.

    In fact, you can add more or less space with spacer between them and panelGroupLayout with horizontal layout as a facet of the end child

  • Remove the spaces between two many a varchar2

    Hello world

    I have a question of respect to remove the spaces of a varchar2.

    The varchar2 is 7987451 1234567' and I need this string as 7987451 1234567', because the field has a length of 15.

    I try with cela, but does nothing

    Select TRIM (7987451 1234567') of double

    Other possibilities are finding several spaces and try to replace it with a single, but would be a heavy work (maybe with phrases in a loop).

    This problem is now in our process of loading.

    There is a function to replace the spaces between the numbers of varchar2?

    Thank you!

    Kind regards
    Daniel Hidalgo

    Like this?

    SQL> ed
    Wrote file afiedt.buf
    
      1  select regexp_replace('7987451            1234567',' +',' ') as new_val
      2* from dual
    SQL> /
    
    NEW_VAL
    ---------------
    7987451 1234567
    
  • active task bar has an empty space between two icons

    Why my Active taskbar has an empty space where the icon should be, but there is none.

    It shows the applications running, but between two of them, there is a space for one, but he's not here.

    As if it were invisible... nothing to do with the button "see the hidden icons.

    This is the way it shows:

    from right to left: clock, volume, network connection icon icon, icon options power, BLANK, anti virus, the webcam icon and so on

    Hello

    ·         Are you referring to the system tray?

    ·         Did you the latest changes on the computer before the show?

    Method 1:

    I suggest you to refer to this article and check if it helps.

    Remove icons from the notification area (system tray)

    http://Windows.Microsoft.com/en-us/Windows-Vista/remove-icons-from-the-notification-area-system-tray

    Method 2:

    If the problem persists I suggest you perform the clean boot on the computer and check if it helps.

     

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135/en-us

    Note: Don't forget to start the computer in normal mode by following step 7 from the link.

  • Creating a shortcut to remove space between paragraphs

    We recently did a redesign of the computer at our place of business, and we used to have a shortcut when they hit it, it would remove the spaces between a paragraph. I tried to look under paragraph styles and text and can't seem to find how it has been implemented.

    It depends on how the space were inserted. If they are the result of the space-before or after the space attribute, then you can edit your paragraph Styles to remove the space.  If your document has unfortunately been implemented without the help of styles, you can select and remove the space in the paragraph Panel.

    If spaces were inserted by adding an extra paragraph of return, then you can use GREP find and change

    I think it's in pre-defined searches: multiple Return to return only

    To find

    ~ b ~ b +.

    Implement

    \r

  • How backup VPN configuration between two universities?

    Hello, I am a student of the Greece and I have a graduation project to configure Backup VPN between two universities. Principal of communication made with leased lines. I study a lot, but now that it's time for implementation I have some thoughts:

    -What hardware and software IOS do I need? Cisco 1841 it is ok for A & D routers?

    -Use GRE IPSec transport mode or IPsec Tunnel mode?

    -What will be the failover mechanism for switching traffic lines leased to IP VPN Backup and opposite? A teacher told me something about the Interface Prioritys. I read somewhere that this is done with the such as EIGRP routing protocol. who was right the Professor or the book?  :-D

    -In the same place, they have Firewall and NAT, I need to do any action for this?

    The attached file contains topology I want to implement

    'My' talk site 1

    2 a Central Site

    E communicates with A, but no traffic is to A of E with normal circumstances. Subnet on E access Internet through F, then press D.    VPN will be implemented on the LAN but the specific source E traffic will pass through the Backdoor VPN (I think that the solution to this is ACL on the router). They have no routing protocol in 'my' site A directly connected routers and the default routes.

    How imlement this?

    I think the first thing to do is A to D connectivity

    I will try to do this to tracers package first, but how can ' I imitate the SP network?

    I need help I can get!

    Hi John,.

    In our scenario, given that our main connection is a direct leased line between E and F, so I guess there is no other network between the two routers. In this case we do not need to configure SLA monitoring or any interface a priority. We can simply enter two default routes:

    IP route

    IP route 254

    In this scenario, if the leased line interface goes down, the second default route is used and the traffic should be routed by A router.

    SLA monitoring monitors connection (using the ping tests) by one of the interfaces of the router, and when we are not able to ping from one server (specified in the configuration of the SLA) through the interface, then we change the default track to track traffic through some other interface.

    So, in your scenario, we can monitor the connection between E and F, and when the link goes down, we can change the default route to point a.

    This is useful in the scenario where we have another ISP connection as our primary connection.

    Here is a link on how to configure SLA monitoring on the router:

    http://www.Cisco.com/en/us/docs/iOS/12_4/ip_sla/configuration/guide/hsicmp.html

    After you have configured the SLA followed by using the link above, you can bind it to the default route by using the following command line:

    track road IP / / default main route

    IP route 255 / / default route with a metric of higer that comes into play when the main default route goes down

    In addition, the sample configuration that you give in the doc is almost correct, defined transformation is missing just a hashing algorithm. Here is a link with an example for a tunnel from lan-to-lan between two routers:

    http://www.Cisco.com/en/us/partner/products/HW/routers/ps221/products_configuration_example09186a008073e078.shtml

  • How to find days between two dates in days

    Hi, I want to get the days between two dates, expressed in days, how can I do this?  For example, I date i.e. 1 October 10, 2013 (Thursday) and 2 as October 13, 2013 (Sunday).  How can I get a production of:

    Thursday, Friday, Saturday and Sunday, which are the days between Oct. 10-13, 2013.  I hope you understand my point.  Thank you

    You can try something like this

    CURSOR LOAD_PROF is

    SELECT load_prof1, v_time_profile_day

    OF load_profile_test

    WHERE profile_day IN (select TO_CHAR(:day1+level-1,'Day')

    of the double

    connect by level<>

    );

    Kind regards

    S Pax

Maybe you are looking for

  • paviilion g7-1260us: I want to improve my memory on my Pavilion g7-1260us laptop pc.

    My g7 Pavilion-1260us notbook pc has 4 GB of memory (stock). I want to upgrade to 8 GB, I Do neeed to replace two memory cards? Or can I add another 4 GB card in another empty location and have total 8GB?

  • Y580 OneKey Theater + NumLock problem

    Hello I recently did a clean install on my new SSD and now I can not find driver OneKey Theater for Lenovo Y580 Windows 7 x 64. Any ideas where I can download it? Also my NumLock key does not boot when I start the operating system. It is not because

  • Instruments cluster interface

    I'm doing my final year project on machine vision based instrument cluster of inspection, I have a good experience with LabVIEW and vision, but this project requires instrumentation running outside of a front vehicle vision real function of inspectio

  • Can not install KB2477244 (error 643)

    I tried to install KB2477244 and it fails to install (error 643).  It has been suggested that I have installed the previous version of Silverlight.  I did but still no go.  I then read else where on the net to download and install directly.  I did th

  • MCE tv Media Center not display?

    Windows xp SP2 with 2005 MCE rollup2 Today, after 5 years of not showing the video tv media center units and register for the event I see: Event type: error Event source: Service Control Manager Event category: nobody Event ID: 7001 Data: 26/06/2011