Microsoft
Software
Hardware
Network
Question : asp.net c# function required with RegEx
I need a c# function to find all ocurrances of a HTML tag in a string and replace it with a different HTML tag based on the tag's ID.
I want to find all occurances of...
<div class="casestudy" id="123"></div>
...and replace it with some HTML based on the id, for example...
<div class="page_case_study_lin
k_containe
r"><h2>Cas
e Study</h2>Title</div>
So I need a complete function which will do this, and I imagine the best way would be with regular expressions. I can add the extra code that retrieves the Title based on the ID, but I need the ID extracted.
Answer : asp.net c# function required with RegEx
The keyboard shortcut for it is hold down the Ctl and W keys at the same time and while holding them down press the J key.
Random Solutions
PDF to DOC converter
Allowing port 1935 streaming media traffic
How to find out what version of remote OpenSSL server is running?
Aside from Flowplayer, recommend a good video/audio player for the web?
How to use the processing core library to create a PIMAGE in Java Netbeans?
I frequently get BSOD with error message DRIVER_IRQL-NOT_LESS_OR_EQ
UAL on windows vista/7
Download conexant fusion 878a drivers for Windows 7
Export Data to XML File from SQL Database
Google Apps Gmail and legacy MS Exchange (SBS) 2003 Synchronisation
Need help resolving a issue with the home folder not being mapped to client from 2003 DC