Extract text from string


Posted on 16th Feb 2014 07:03 pm by admin

Hi folks,

I have a string that looks like this:

aaaaaaaaaa:
bbbbbbbbbb (ccccccccc) ddddddddddddddddddddd
eeeeeeeeeeeeeeeeeeeee

(format can't be changed - lengths of strings will vary) and I need to extract the c's that are inside the brackets.

How could I do this?

No comments posted yet

Your Answer:

Login to answer
90 Like 15 Dislike
Previous forums Next forums
Other forums

Concatenate two strings ???
I have string one $string1 and another $string2.

How to concatenate (add) both of them $str

Why does this file not return file names that start with numbers?
This file returns a list of filenames to help populate a drop down in my form. For some reason it ig

php forms and database navigatio
Hello,
I'm new to php and i'd like to post the following.
I have written code to get records f

WELCOME SCREEN
first of all let me tell you what does my script do,

it´s a very simple query to show a e

Somebody hacked into my site and changed coding >>> URGENT HELP NEEDED <<<
I am not that much into programming , but somebody is hacking to my site and injecting some kind of

insert mysql embeded videos as blobs?
Using TinyMCE my client will be able to embed images and flash videos into large columns of text whi

Best way to check for end of a record and send it back to the first record
I'm hoping someone can help me out and explain the best way to accomplish this.

What I'm doin

TabControl Inside ListView Not Editing
Hello everybodyI have a ListView on my page. Inside the ListView I put a TabControl, cuz I want to p

fwrite error
Hi All,
Does anyone know what is causing the error in this code?

Code: <?
$error

Pipe email to PHP - get mail adress from MySQL - send?
Hi all,

this is the challenge:

1) Our faculty at the college where I'm employed includ

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash