For a forum I need a regex for the following case:
User enters some text in a textarea field.
We use UBB code for links and images, so ppl can enter the following things:
Only if a URL is entered without [url= or [img= it should be replaced with [url=http://…
Basicly I need the RegEx, if someone has a simple C# code for the replacement, that would be perfect (will increase to 500 pts then).
I hope I could make clear, what I need.