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

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

Using the $_GET variable to view certain records
Hello,

First let me explain my problem, I have 2 pages the first page pull a list of Guide ti

HELP with mysql_real_escape_string
I'm looking to remove apostrophes completely when someone enters lyrics but don't have a clue how to

is this the proper use of mysql_real_escape_string() to prevent sql injections?
i was wondering is this the proper use of mysql_real_escape_string() to prevent sql injections? any

how to read and write into a word document using php...?
hi,
I need,reading and writting into a word document using php.




Thank u inadva

How to use php and sql to check if values match the ones in a table (for logins)
How would I code it that the script takes two variables that are passed to it (UserID and PIN), and

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

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

9.99
9.99
9.99

Mouseover to edit (Ajax)
hi friends, can anyone help with the code behind to get this application working, please in VB (new

Preg_match unknown modifyer
Hello,

Im trying to write a little script for my forums i need to get the reply from my forum

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