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

PHP - HTTP Digest Authentication - Understanding Code Help
Hi Everyone,

This is my first time on your website and please excuse if I am asking silly que

first few characters only
hi, does anyone know how to use PHP to take the first few words of a text and limit them? i have see

Print 'a' to 'z' via for loop
A very simple problem..
How Can I print a to z NOT a to y ?
It is a part of a code where
<

Xacute search within SQL results
I have a query that is pulling data, and I want to return a specific value from the results of that

Open browser page depending on XML results
Hello,

I have some PHP code that sends webbased from data to an external url ( in the form of

Number Format
Hi All,

I have number '000000000050085' I want to format it to 500.85 Can any one give me

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

Question about ShowWindow()
Hello....

I'm struggling with sumpin, and I hope y'all can help.

I've got a CFormView

Passing variables with pagination - iterating through unique id per link
Hi everyone,
I have seen a few topics like this one. Still cant find the specific thing, so I am

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

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