Prismatic Posted March 26, 2008 Share Posted March 26, 2008 Ive got a string that looks like this ":blehbob!n=blehblehblehblehbleh......." I need to be able to match everything between the : and the ! in the string, so in this case "blehbob" would be returned.. Any ideas? Quote Link to comment Share on other sites More sharing options...
effigy Posted March 26, 2008 Share Posted March 26, 2008 /:([^!]*)!/ Quote Link to comment Share on other sites More sharing options...
Prismatic Posted March 27, 2008 Author Share Posted March 27, 2008 /:([^!]*)!/ Works great! Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.