Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regular expression question

Status
Not open for further replies.

hessodreamy

Programmer
Feb 28, 2005
59
GB
Haven't quite got to grips with regular expressions yet, so could someone help me with this query:

I need to select a field from a table, but excluding any text that is enclosed within brackets.
For example, we have this data:

'(1) row 1'
'row 2'
'(3)row 3 (yes, that's 3)'

I need to return:
'row 1'
'row 2'
'row 3'

Thanks muchly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top