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

regex for quoted text within a string
I am still getting the hang of regex expressions, but I cant seem to figure out how I would escape q

Show specific day of the week
I have been racking my brain trying to get this function to work properly and it is doing so for eve

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

Deleting a record php
Attempting to setup delete a record page. The below code I put together doesn't seem to work.

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

Recognising Revenue daily
Hello.
Has anyone come across daily recognition of deferred income?
We want to implement R

Executing an exe
Hi. I have some bizarre problem with exec (other any other method) to launch exe's. I am making a ga

Best way to cross matching large datasets
Hi,

Im running a script where am I cross matching about 200 000 data sets with each other. Ea

How to implement HTTP connection timeout
Hi All,I would like to implement an HTTP connection timeout.

I am working on a application wh

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