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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regular Expression help

Status
Not open for further replies.

jgroove

Programmer
Jul 9, 2001
43
0
0
US
I am trying to build a regular expression that will let me change text between to comments on a webpage. I have a large textarea that users can type in information about a webpage then I want to be able to write that infomation into a template that I have. The start of the text is <!-- #BeginEditable &quot;Body&quot; --> and the end is <!-- #EndEditable -->. Is there a way to read and/or write inside these two comments. I am thinking that regular expressions would be the best solution, but I have tried to write a some regular expression and they don't work. Or aren't even close.


jgroove
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top