|
I'm having an issue with my regex.
I want to capture <% some stuff %> and i need what's inside the <% and the %>
This regex works quite well for that.
$matches = preg_split("/<%[\s]*(.*?)[\s]*%>/i",$markup,-1,(PREG_SPLIT_NO_EMPTY | PREG...
Started by Issac Kelly on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
In your case, it's better to use preg_match with its additional parameter and parenthesis:
preg_match("#((?:<|<)%)([\s]*(?:[^ø]*)[\s]*?)(%(?:>|>))#i",$markup, $out); print_r($out); Array ( [0] => <% your stuff %> [1] => <% [... .
|
|
Change one letter - Game
OK! Another new game. I'll start with a 4 letter word and the next person must change one letter of that word to make another new word
I'll start with: STAR
Now the next person change one letter and make a new word. You gotta ...
Started by Beetlescott on
, 30 posts
by 6 people.
Answer Snippets (Read the full thread at cedmagic):
Come on an help me get this one started guys! I'll do the second one too:
SCAR SCAT SCAN SPAN SPUN SPIN SKIN SKIT SHIT <-- to easy SHOT SHOP CHOP CHIP SHIP SHIM SKIM SKIP (my dad's nickname) SLIP SLAP CLAP CLAW CRAW CRAP TRAP TRIP DRIP DROP CROP CLOP... .
|
|
Eric Draven continue the game as first posted by helper
helper's Change one letter game pt V
this is a five letter word game....
change one letter only
last three posts:
snowy1956 spoon ofir666 oopsy nelle_4004 soapy
Started by Eric Draven on
, 25 posts
by 8 people.
Answer Snippets (Read the full thread at bolt):
Sappy Happy Harpy hardy Yards sward Warts trash Shard hares reach chart chair cairn triac trail rails aisle slain satin antic canto coast toast .
|
Ask your Facebook Friends
|
CHANGE ONE LETTER OF THE BOTTOM WORD POSTED
RULES:
YOU CAN ONLY CHANGE ONE LETTER
YOU CAN ADD ONE LETTER OR TAKE ONE AWAY (please dont just add an S on the end)
YOU MUST LET ANOTHER POSTER POST AFTER YOU, BEFORE POSTING AGAIN
DONT REPEAT A WORD THATS ...
Started by Ghost on
, 20 posts
by 7 people.
Answer Snippets (Read the full thread at yuku):
SHOOT
SHOUT
SNOUT
STOUT
STOAT
STOAD
TOAD
ROAD
BOARD Remove this ad Bivy you only to Change one Letter.
|
|
Just for a bit of non e-cig fun, this one is real easy... Just change one letter from the last five letter word to make a new five letter word...
We'll start off with: Steam
Started by TopCookie on
, 30 posts
by 4 people.
Answer Snippets (Read the full thread at liberty-flights):
Spurs Spuds Dupes Speed Steed Meets Meter.
Trams Strap paris ? Raise Rears Spare Dears Ready Dread Dream maker Cream Reach Beach Teach Chest Crest Crust Crush Brush can i just re-arrange them?
shrub
burps Yes.. .
|
|
Simply add, subtract or *change one letter from the word above.
example
love
dove
(note 'change' can mean the letters position - s nail to nail s or 'change' can mean the actual letter, l etter to b etter)
one letter only Last edited by Cate on Wed Feb...
Started by Cate on
, 15 posts
by 9 people.
Answer Snippets (Read the full thread at leonardcohenforum):
Just one letter! “Perhaps not surprisingly, Hanson, whose father was an elephant tamer and mother from previously mis-directed knives, wants to concentrate on her hula-hoop act.”
the Daily Mail Just one letter? Can we add ....
|
|
A typo brought this to my attention. Friend and fiend are antonyms. Only one letter different.
fiend
a : devil 1 b : demon c : a person of great wickedness or maliciousness. 2. : a person extremely devoted to a pursuit or study : fanatic <a golf fiend...
Started by aceplace57 on
, 16 posts
by 14 people.
Answer Snippets (Read the full thread at straightdope):
The power of a shnook." There's also only one letter's difference between Friend and Diner, but only.
|
|
Here are the rules for those who don't already know them:
Start off with a word and then you can change one letter to make a new word.
You can delete a letter, add a letter or change a letter.
You must not just rearrange the letters
If you are challenged...
Started by Victory Girl on
, 20 posts
by 4 people.
Answer Snippets (Read the full thread at theblackandwhiteboard):
Tranna make me go to rehad assed nooo nooo nooo The book of life is brief, and once a page is read, all but love... .
So far, so good." rehad (A resting place for dyslexics) .
Heard "I intend to live forever.
Hater There is no emoticon for what I'm feeling.
|
|
Saw this on another forum and it seems fun. The idea is that you take the name the person before has posted and change one letter. You can add a letter, change a letter to a different letter, of take a letter away. Names can be either gender. You can ...
Started by weezypops on
, 15 posts
by 5 people.
Answer Snippets (Read the full thread at essexmums):
First name: Lucas
Essex Mums Reading Challenge: Currently reading: Suzanne Collins - Mockingjay 3355/20000 read
Essex Mums Weight Loss Support: Current target: 15/28lbs Saul Essex Mums Reading Challenge: 10105/20100
Currently Reading: Marked by PC and... .
|
|
From the last thread
lie (Jess lied a couple of times)
Started by ramgirl on
, 15 posts
by 3 people.
Answer Snippets (Read the full thread at fanforum):
TFTNT!
pie die Died icon; Anne lied led sled seed reed read real deal seal meal teal .
|