Extract text from string


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

Hi folks,

I have a string that looks like this:

Did you know?Explore Trending and Topic pages for more stories 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

Adding Different Numbers From MySQL
Basically I have a mysql database with a couple prices as the following:

9.99
9.99
9.99

Form validation with functions
Hi there

I am trying to make a very simple form validation function. I currently have the fol

Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string

insert/update functions for mysql, what do you think?
I am working on two really simple functions that automatically generate (and execute) insert and upd

Unable to retreve the values from Mysql Query
Hi,

Here is the php code that I have, Query is running properly in phpmyadmin and is resu

Registration
ok so i have a site where people can register and login which works now thanks to someone on here th

How could I do this?
Ive got a simple lottery game, and am using an sql database to keep track of the numbers bought. But

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

Querying info from one table based on info in another
Hi, I am currently trying to make a part for my user driven website where one user can subscribe to

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