Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: RegExp


Message #1 by rg1@h... on Thu, 26 Apr 2001 17:34:52
Hi.



I have the following string and need to extract everything after the 

last "]":



[Microsoft][ODBC SQL Server Driver][SQL Server] Stored Procedure 

sGROUPInsert: GROUP " rita1 " already exists. 



I need: 

Stored Procedure sGROUPInsert: GROUP " rita1 " already exists.



I tried setting my RegExp pattern to "\](.*)" but this picks up after the 

first "]". I also tried "\]$(.*)" but got back nothing.



I know I have to work from right to left but don't know how to achieve 

this. I thought the "$" would do it for me.



Thanks.



Rita

  Return to Index