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

difference between datetimes
($row['totime']-$row['fromtime'])/60

this is giving me 0

example of totime and fromtim

Keeping data in form
How can I keep whatever I write in the form?

Why does my php page download images over and over
Can anybody please explain to me why my php page keeps downloading the images and other items every

Kill a process
I have a question - how can I kill a process from a command line or by using Oracle SQL Developer? I

Mail Form receiving emails with no content
Hi, I hope someone here can help me.
I have a simple form in my website, it was working OK, after

problems with script
I made a small script wich exchanges points in my website:


<?php
session_start

Placing and array within an array then sorting it!
I have a page that runs two large mysql queries and saves the results into arrays, in php I then per

Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so

show the direct link into href
I want to display link on the page. i am fetching the data(URL) from database,actually before that i

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

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