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

WHYISNT THIS MYSQL STATEMNT NOT WORKING? (php)
caps because its absolutely rediculous.
i dontunderstand why its not working. there is a column c

Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first s

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Exporting new records
Trying to figure out the best way to set this up.

People register my site.

Their prof

php calculate
this code echoes correctly the sum but the inserted result is 0??
Code: <?php
$TotalNum

convert PHP array to Javascript array
I have a page that gets a request sent from AJAX, and I am trying to convert a PHP array to a javasc

random generation
hi

i need help with generating this

numbers from 1-12

i want to generate in ran

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

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