newbtophp Posted March 20, 2010 Share Posted March 20, 2010 Hi, Im trying to figure out how to do the following (examples are below), with regex, im guessing i'd have to look forward and back (if thats the correct term) and then replace accordingly. I hope the examples would explain what its meant to be doing, as Im unsure how to explain. :-\ Examples: Input: hello '\';'; Output would become: hello '\'; --------- Input: hello '; '; Output would become: Removed (Replaced with nothing) --------- Input: hello '; Output would become: Removed (Replaced with nothing) Quote Link to comment Share on other sites More sharing options...
newbtophp Posted March 20, 2010 Author Share Posted March 20, 2010 Figured it out 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.