|
Hi
I need to convert any letter that occur twice or more within a word with a single letter of itself.
For example:
School -> Schol Google -> Gogle G gle -> Gogle VooDoo -> Vodo
I tried the following, but stuck at the second parameter in eregi...
Started by uuɐɯǝʃǝs on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It should work if you use:
$word2 = eregi_replace("(\w)\1+", "\\1", $word);
Which backreferences the original match.... .
Not only are you capturing the entire thing (instead of just the first character), but {2,} rematching [a-z] (not the original match) .
|
|
This one is a classic too.
You make a word by adding, removing or changing one letter of the previous word. For example 'back' -> 'black', or 'back' -> 'hack'.
The first word: Game
Started by Silenia on
, 15 posts
by 4 people.
Answer Snippets (Read the full thread at youreos):
Flunk Funk..
Fling Flung.
Mink
^^ Sink Sing Sling.
EDIT: If no one can think of a new variation on this, moving back to the word before this one is fine .
Mime Mine! Mint Mini.
Tame Time.
|
|
When I am in a list and I press a letter to jump to the first entry that starts with that letter why does it leave that entry on the bottom of the visible entries? It should make the entry the top visable entry so that many entries that start with that...
Started by James A. N. Stauffer on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Agree with the letter you pressed be in the middle of the ones that are seen?
To extend your example and the last couple of options beginning with....
Especially if you have to continue hitting that letter to get to the next option.
I agree.
|
Ask your Facebook Friends
|
I'm currently using this regex ^[A-Z0-9 _]*$ to accept letters, numbers, spaces and underscores. I need to modify it to require at least one number or letter somewhere in the string. Any help would be appreciated!
This would be for validating usernames...
Started by makeee on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Need one letter or number, and then an arbitrary number of numbers, letters, spaces or underscores simply need to specify your current RE, followed by a letter/number followed by your current RE again _]*$
It will check ahead that....
|
|
I need a regex to validate passwords with the following specs:
It must be between 6 and 20 characters with at least one upper case letter, one lower case letter and one digit
Started by Jangwenyi on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
And then as a last step.
The idea is to use positive lookaheads to ensure that at least one lower case letter, one upper case letter, and one digit are contained within the password.
In Regex Hero.
|
|
Dinner letters and welcome letter
It is a bit overwhelming to try and figure out where to go for dinner letters and a welcome letter, could anyone share who they used???
Started by jessp1021 on
, 12 posts
by 4 people.
Answer Snippets (Read the full thread at disboards):
Names, etc.) and DISigners will jump onboard to assist! Awesome :)
I would like a welcome letter lunch letters for: 50's Prime Time Cafe and Coral Reef
I need a dinner letter for: Garden Grill
And I need an awesome surprise letter....
|
|
The First Letter, Last Letter Game!
Started by Cafe AmyB on
, 11 posts
by 8 people.
Answer Snippets (Read the full thread at cafemom):
Rest tea Posted on CafeMom Mobile ant trampoline Eggs Posted on CafeMom Mobile sand Posted on CafeMom Mobile Demolish Posted on CafeMom Mobile Hopefullness Sorry Posted on CafeMom Mobile Yesterday .
|
|
Only starting java, need a program to convert the letter on the button of a mobile phone into a number.
e.g. a=2 or v=8. I've tried a few approaches, it compiles alright but wont give me the answer?
public class digits { public static void main (String...
Started by poj52 on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
For example:
if (letter=="A" || letter==....
You verify your input letter ? you should rather go for char than for string (and a switch instead? So, if you want to go that way you should add on more || clause for every letter.
|
|
I have a mix of greek and normal words and now the order of these is that the normal words comes first and then all the greek words. I want them to get mixed in the order so beta in greek is the same as B .
How can I make this ORDER BY in SQL Server?
Started by Philip on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In Greek there should be both an omicron and omega... .
So, for greek you would use:
ORDER BY textField COLLATE 124
See a list of collations (there are several greek ones), that can be used with ORDER BY .
When ordering, you can specify the collation to use.
|
|
Hope this will help for people looking for cover letters. The below word template can be downloaded from this link. I used this for my postal application. This can be customized as per individual's need. For Employer Letter template check here .
Table...
Started by chetanojha on
, 20 posts
by 10 people.
Answer Snippets (Read the full thread at immigrationboards):
What a coincidence!! Thanks....
I also have letter from bank formatting issue.
I did had my online saver signed and stamped.
What a coincidence!! Thanks for the letter, it would help many, and guide them about how without it too.
Issue.
|