Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
I have a multiline Textbox and htmleditorextender ..


I have keywords like [Approver],[Reviewer] and it has values from backend like 'Mr. X'

If i type '[Approver]' on the textbox it must show the value of [Approver] which is 'Mr. X'.

Do you Understand what i'm saying? Please I need help. Thanks and Regards.
Posted
Comments
Kornfeld Eliyahu Peter 16-Jun-14 5:51am    
If I understood you well, you didn't understood CodeProject...Here we try to help people who stuck with there code, but I can't see any code here...
Lance Julius Traigo 16-Jun-14 6:07am    
Actually Sir, that's why I'm stuck basically all I have is the multiline textbox, what I'm looking for is a way for a function to identity a tag like "@" or "#" so that it will know that I'm looking for a word. Like in facebook where when you want to tag something just start with the @ sign. So there, all I can post is my aspx page, but it's pretty useless since its just a design there's no code behind.
Kornfeld Eliyahu Peter 16-Jun-14 6:09am    
Actually you have a very little chance someone here will give you code 'out-of-the-box', so you better start search and design your solution - any solution - than put some code together. With that code come back here and we will do our best to help you!
Rahul Kumar 16-Jun-14 6:04am    
good reply :)

1 solution

You probably want to do some research on Regular Expressions.
MSDN .NET Framework Regular Expressions[^]
The 30 Minute Regex Tutorial[^]

Then you can use Regex.Match[^] to search for your placeholders or smart tags.

Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900