I am trying to filter out words out a block of text. I decided to use the Ereg function. I am having problems figuring out how to use ereg properly.
I want to match this expression. The expression is enclosed with [ and ].
[## WORD]
Example:
[34 Hello]
I am also trying to filter out words enclosed in ( and ) at the same time.
I want to match this expression. The expression is enclosed with [ and ].
[## WORD]
Example:
[34 Hello]
I am also trying to filter out words enclosed in ( and ) at the same time.