Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to replace the following things:
[video=youtube]https://www.youtube.com/watch?v=14zIhlfeUjE[/video]

TO
<iframe width="560" height="315" src="//www.youtube.com/embed/14zIhlfeUjE" frameborder="0" allowfullscreen=""></iframe>


And for tags
[b]Test[/b]

TO
[b]Test[/b]


What I have tried:

I didn't try much cause I do not understand REGEX at all, after reading several articles and tutorials. And the internet couldn't help me out with Regex with C#
Posted
Comments
Patrice T 13-Jul-16 15:51pm    
Check your question, particularly the sevond replacement.

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