I'm trying to create a regular expression that will work to find all strings that are within a [ ] block (square bracket area)
So String: Hello world [this is the text I need to find] My regex I would have thought would be \[[^\]]*\] I'm escaping the first [ with a \ character - then finding the NOT ] (escaped) ending with a ] in between For HTML strings this regex works: <[*>]*> finds all tags - but the above regex won't work Any help? Thanks Kevin Penny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217841 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

