what is the regular expression for this

Posted by bn on Stack Overflow See other posts from Stack Overflow or by bn
Published on 2010-06-16T16:23:45Z Indexed on 2010/06/16 16:32 UTC
Read the original article Hit count: 160

Filed under:
|
|
|

I want to parse this

(adv) much (thanks)

I want to eliminate the words and the bracket (adv) but not (thanks)

the condition is: inside bracket, and word length inside bracket is 1-5 characters

I am using preg_match in PHP

Thank You

© Stack Overflow or respective owner

Related posts about php

Related posts about regex