How to remove words which consist of max 2 letters?
Hi everybody,
Is it possible to remove words from string which consist of max 2 letters using REGEXP_REPLACE?
For example string is 'aa bbb cc dddd' and result should be ' bbb dddd' (3 spaces) or 'bbb dddd' (1 space). It does not matter which one of results.
Or exists another method to achieve this?
Thank you.
Matus.
Try this.. should work for even punctuations and digits etc.
It might be done more simpler but this is my try.
Combined Anthony Wilson and Tom kyte:-)
WITH t AS
( SELECT 'aaa''123 bb cc dddd l mmmm' l
FROM DUAL )
SELECT MAX ( SYS_CONNECT_BY_PATH ( word, ' ' )) scbp
FROM ( SELECT word, ROWNUM rn
FROM ( SELECT REGEXP_SUBSTR ( l
, '[[:alpha:][:graph:]]+'
, 1
, LEVEL
) word
FROM t
CONNECT BY LEVEL <=
LENGTH ( REGEXP_REPLACE ( l, '[^ ]', '' ))
+ 1 )
WHERE LENGTH ( word ) > 2 )
START WITH rn = 1
CONNECT BY PRIOR rn = rn - 1G.
Similar Messages
-
How to remove games (which i doesn't exist in my iOS device) from game centre?
How to remove games (which i doesn't exist in my iOS device) from game centre? Thanks for help.
Take a look at this Apple support article; it may help:
One computer using multiple iTunes Store authorizations
When i want to buy items from itunes from a new device , it asks for my bank card number , and takes 1-2 dollars from it. Is this ok?
I'm not sure what you mean by this. What "items"? If you are referring to music, videos or movies, you get only one download per purchase, so if you buy the items again, whether from another device or the same one, yes, you will be charged again. Only apps allow redownloading without additional charge.
Regards. -
How to Deploying Application Which consists .jpr project file in JDeveloper
Hi,
I Successfully compiled my application in JDeveloper 11g, My Project consists of .jpr file which loads all the source files. I added this .jpr file to New Application by creating a .jws in JDeveloper.
When I run my application, I am getting the Deployment Error, How to deploy a project which consists of .jpr as project file in JDeveloper 11g.
The Same was running in Oracle JDeveloper 10.3.3 version perfectly there the Server was OC4J but Here the Server is WebLogic.
can anyone help me out in solving this,
Thanks
Srinivas Reddy P.
Edited by: user10952409 on Mar 31, 2009 7:17 AMIf the exampleClass1 does have a public method which is called from the main method, when you run it from the command line
should work like this
// sample class
public class ExampleClass1
// C'tor
public ExampleClass1 ()
public void testmethodWith3Params(String aS1, String aS2, String aS3)
// do the work here
public static void main(String[] args)
String p1;
String p3;
String p3;
ExampleClass1 xyz = new ExampleClass1();
// read the params into p1,p2 and p3
// omited the code
// call the worker method
xyz.testmethodWith3Params(p1,p2,p3);
// now instead to call the main method you call the workter methos from your web app like
ExampleClass1 aaa = new ExampleClass1 ();
aaa.testmethodWith3Params(param1, param2,param3);
...If you don't have a method (or don't know it) you can call it via the main method like
String [] param= {p1,p2,p3};
ExampleClass1.main(param);Timo -
How to remove malwarw which is embedded next to slide to open screen
How to remove a malware which is embedded next to the slide to open icon
Unless you've jailbroken your iPhone there is no malware on it.
-
How to remove word from personal dictionary?
I've searched online for this and it almost sounds like it can't be done in DW CS5, but that just seems crazy. I added a word to my dictionary that can be spelled two ways and now, for consistency sake, want to remove one version. Can anyone tell me if this is possible and how?
Thank you.Thanks, Nancy, but that's for older versions. According to Adobe, "Dreamweaver does not provide a way of deleting entries that have been added to personal dictionaries."
Maybe I'm just stubborn, but I found it hard to believe that if you accidently add a word you can never remove it. What if you accidently clicked to add something that wasn't spelled correctly? As I was replying to you, I poked around some more and found in C:\Users\my name\AppData\LocalLow\Adobe\Linguistics\Dictionaries\Adobe Custom Dictionary\eng (I'm running Windows 7 64 bit, so your location may vary). a file called added.clam. There is also an added.txt and exceptions.txt but there's nothing in them.
I copied added.clam and renamed it to added.clam_Copy.txt. Opened it up with Notepad and sure enough, my word is in there! But there are other markings in there that I don't know what they mean. I edited my word out and when I ran spell check in DW it stopped on a word that I had left in my personal dictionary. I didn't have that many in so I went back and cleaned them all out and saved a blank added.clam. Then when I went back to DW, ran it again, and added the words I want.
There might be a cleaner way to fix the problem, but that worked for me. It seems crazy that Adobe doesn't allow you to edit the dictionary but if someone using CS5 is really stuck, this will work! -
How to remove words you saved in dictionary (symbi...
Step 1: Download the symbian application (sExplorer.SIS) to your computer.
Step 2: Bluetooth and install the application (sExplorer.SIS) to your symbian version 3 phone.
Step 3: After installation completed successfully, please go to "Menu" => "My own"
Step 4: Select "SExplorer"
Step 5: Select "C: " by pressing the down key on your phone.
Step 6: After "C: " is highlighted, press the right key on your phone.
Step 7: Select "Predic" by pressing the down key on your phone.
Step 8: After "Predic" is highlighted, press the right key on your phone.
Step 9: Select *.dat file by pressing the down key on your phone.
Step 10: Click on the "Options".
Step 11: Select "Delete".
Step 12: Select "Yes" when prompt "Delete selected file Are you sure?"
Step 13: Select "Exit".
Step 14: Switch off the phone to enable a reboot.
Step 15: Switch on your phone, the dictionary issue will be resolved!
EDIT: removed linkMessage Edited by damocles on 18-Oct-2006
12:17 PMShame you cant edit and simply ammend or remove a word rather than deleting everything
Orange Handsets : Nokia 51 > NK702 (6130) > 6210 > 6310i (silver)> 7210i > 6230 > 6230i (silver) > N80 (silver) > N95-1
T-Mobile: N96 -
How to load field which consists of 256 length in R/3 system
Hi,
We have a field consists of 256 length.
I want to load from R/3 -> BIW -> Bex Reporting.
What are the steps to be taken in R/3 Side.
What are the steps to be taken in BW side.
What are the steps to be taken for Bex.
Thanks,
MadhuHi madhu,
I guess that won't work. In the end the BEX will get problems by handling such lengths.
I suppose to use the documentation functionality of the BW. (RSA1, documents). Their are different possibilities to upload multi-line data and "connect" it with a value of an infoobject.
Have a look in this HowTo-Paper: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8046aa90-0201-0010-5e99-962948c83331]
Bye.
Frank -
I don't know how but I created it and want to remove now but I didn't got any option for removing account. I have unfriend all my friends which where connected to my new account and I have clicked the public profile and kept it off but I didn't find how to remove please help me with this.
Im having the problem too, I want to play Clash of clans with my brother but when ever he tries to play, hes me;(
CAN ANYONE HELP US!!! PLEASE!!! -
How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie
How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie - simple answers please - Thanks in advance.
@Pipeline2007 - which version of Microsoft Office have you got? Older versions of Acrobat aren't compatible with the latest versions of Office, see this link for info:
http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html -
How to remove hyperlinks in a word document
how to remove hyperlinks in a word document
Go to your "Insert" drop down menu.
Select "Hyperlink", near or at bottom.
You will get this dialog box:
Look at the lower left corner... see the button "Remove Link"?
Click on it...and hit the "OK" button in the lower right...
Since this was a Word question, and not a Mac Pro question, it would have been better to post it here http://www.msofficeforums.com/word/ -
How can I find the words which spans across end of line to next line in pdf ?
I am using Acrobat Adobe X Pro version for our form development and maintanence. I am writting a Acrobat JAVA batch script which reads through all the words and execute spell check and reports the mispelled words in a excel sheet. Since I am running this script in batch mode for more than 1000 pdfs - I am getting many words joined together. When I looked in to those pdfs all such words are looking okay because it is appearing in end of right margin and the next word is in the next line. Since there was no space between them it was extracted as a single word. Hence the failure.
I used wordf = this.getPageNthWordQuads(i,j) to get the word begin and end coordinates. when I closely observe the values are creating a rectangle and that doesnt span across lines. I got the coordinates for the regular word and the word which span acoross two lines. both of the coordinates are same.
I think I am screwed - I have 8000 such words and no clue of how to get rid of them from the actual misspelled words.
please help. let me know if any class /method if I call will give me the end of line or do I need to go to next layer to find this split.
the addnot is somehow marking the words using this coordinates - please hellp me understand how this works. Thanks.
// for all pages
for (var i = 0; i < this.numPages; i++ )
// For all the words
pg += 1;
numWords = this.getPageNumWords(i);
for ( j = 0; j < numWords; j++)
//get the spell check
ckWord = spell.checkWord(this.getPageNthWord(i,j))
if ( ckWord != null )
jn=0
ml=0
// if mispelled word found.
wordf = this.getPageNthWordQuads(i,j)
swordf = wordf.toString()
var st = swordf.split(",")
var diffx0 = parseInt(st[0])-8
var diffx1 = parseInt(st[1])-8
var diffx2 = parseInt(st[2])-8
var diffx3 = parseInt(st[3])-8
var diffx4 = parseInt(st[4])-8
var diffx5 = parseInt(st[5])-8
var diffx6 = parseInt(st[6])-8
var diffx7 = parseInt(st[7])-8
if (cWord == csword)
jn = 1
if ( st[1] != st[3] )
ml = 1
//dataLine += "\r\n write "
else
ml=2
dataLine += "\r\n"+this.documentFileName
+ "\t" + this.getPageNthWord(i,j)
+ "\t" + pg
+ "\t" + j
+ "\t" + ml
+ "\t" + jn
+ "\t st[0] " + diffx0 + "\t st[1] " + diffx1 + "\t st[2] " + diffx2 + "\t st[3] " + diffx3
+ "\t st[4] " + diffx4 + "\t st[5] " + diffx5 + "\t st[6] " + diffx6 + "\t st[7] " + diffx7
ck=1If Acrobat is reading each word part as separate words, you have a problem.
The way I approached it in some of my tools was to check if a word ends
with a hyphen, and if so, to check if it's the last on the line. If both
conditions are true, combine with the next word on the next line. This is
not fool proof, of course, as there are documents with columns are other
structural elements that prevent this from working. Better than nothing,
though...
However, it is also possible that Acrobat does see both parts as parts of
the same word. In that case, getPageNthWordQuads() will return multiple
quads arrays. As you know, that method returns an array of quad arrays.
There's usually only one, but in principle there could be more... Something
to check before giving up. -
So, how can I add the red line below all those words, which are not technically correct.
I have tried everything, but nothing works. Red line should come there automatically, but I can't find nothing from settings to do this. Can you guys help me?There isn't any finnish spellcheck in Pages
Inspector palette = Asetukset
I am trying to find out where to get a finnish dictionary that can work in Pages. I am not sure but try this
http://www.jkwchui.com/2010/03/spellchecking-latex-in-macosx/ -
How to remove payment block for AP invoices which has been cleared
How to remove payment block for AP invoices which has been cleared
Thanks
ChiruHi,
Thanks for immediate response in fb02 is in deable mode
mrbr unable to change
please provide to to remove blocking code i will assign points
Thnaks
Chiru -
How to convert Amount which is in figure to words
How to convert Amount which is in figure to words like :
Rs 1005.70 into 'Rupees One Thousand Five and 70 Paise'
Thanks
kumar nhiii
use FM
SPELL_AMOUNT
WA_AMOUNT = '10000'.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = WA_AMOUNT
CURRENCY = PWAERS
FILLER = SPACE
LANGUAGE = 'E'
IMPORTING
IN_WORDS = WA_SPELL
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3.
regards
twinkal -
How to get Client ID and Client Secret for Office App for Word which accessing SharePoint Online
we currently implementing an Office App for MS Word which access SharePoint list and get data from lists. Our aim is any user can get this app from Office App store and enter their SharePoint URL and browse their own SharePoint lists and use those. When
I was checking mechanisms which you used to access SharePoint, in some of them have used ClientId and Client Secret to authenticate with SharePoint. I have following questions.
1.If I want to sell my app using Office app store where can I get those clientId and client secret which is used to get the access tokens.
2.Is it possible to create SharePoint app and publish it to SharePoint app store and get clientId and client secret and use it when accessing through office. So users first download our SharePoint app install it to their SharePoint environment then get out
Office App from Office app store and add it to word. Will this work?Hi,
>> We are planning to develop an Office app to access SharePoint Online and SharePoint on Premise from Microsoft word.
I’m not very familiar with SharePoint development, so please correct me if I have any misunderstandings about your requirement.
The basic components of an app for Office are an XML manifest file and the default webpage of your app (server side).
>> If I'm publishing my Office App for Word in to the Microsoft office app store, how do I get the ClientId and ClientSecret which I need to pass to authenticate with SharePoint online?
As far as I know, when register your web app to SharePoint Online, you will get the ClientId and ClientSecret from the Azure Active Directory. And you need to store the Client ID and Client
Secret on the app server side.
For details, you could reference the article
Building an Office 365 ASP.NET MVC app.
>> If ClientId and ClientSecret not providing when we publishing Word Office App to the app store how what the ways which we can use to authenticate with SharePoint using Word Office app?
You don’t need to provide the ClientId and ClientSecret when publishing your App to App Store. They are stored on your app server side.
By the way, if you have the question about how to access the SharePoint resource in a Web Application, I will suggest you posting the questions to
SharePoint Development Forum. For this forum, we mainly discuss the questions about using the Office JavaScript API to develop Apps for Office.
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
What is "other" under usage data and how do I get rid of it?
I was recently given a used iPad 3rd generation 16GB A1416 with IOS 7.1.2. I set up my own Apple ID and then I deleted all existing apps, photos, movies, messages, reminders, etc to make room in storage and then downloaded 4 new apps for my granddau
-
i tried to fix permissions on my macbook and it seemed to work fine, but five minutes later, i fixed permissions again "just to check" and i figured out that my permissions are not being fixed. What can i do?
-
How does one put Mac to sleep using the keyboard (Lion)
I have put my Mac to sleep by pressing command, option & the eject key. Screen goes blank/dark compter a sleep. I have noticed this not longer works. The screen goes blank but come right back on. Has that command been eliminated in recent 'upgrade
-
Have Problems to open rw2 Raw Files from Panasonic Camera
Hi, how could I open raw files from panasonic dmc-fz1000 ( rw2 )
-
Can Any One Suggest Me How To Maximize Query Description Length i.e More than 120 Char . Regards Supraja.K