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

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

Problem in String replace program's output
Hi all,
I was trying to make a program which accepts a string and replaces it with another stri

Help with echo()
I'm having some problems with this code:

Code: echo '
<A HREF="jav

use an array from 1 class in a second class
I have a class that adds data to an array

Then I have a second class and I need to check if t

Internal Server Error issues
This has been bothering me for weeks and I've been trying to solve it without asking for help, but e

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

Getting number of affected rows in SQLPLUS..
Hi everyone,
I have a shell script where i am invoking sqlplus, running a query and saving t

Php script to read msword file
hi,

I need to read a msword file and i want to print the contents in that word file.

i

isset undefined variable
Hi all,

Hope someone can point out the obvious. I've a log in script, if you dont enter a use

how can i display php source code snippets ?
I am outputting some pho code .. and I want to display the source code so people can copy and paste

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