• Hi all. We have had reports of member's signatures being edited to include malicious content. You can rest assured this wasn't done by staff and we can find no indication that the forums themselves have been compromised.

    However, remember to keep your passwords secure. If you use similar logins on multiple sites, people and even bots may be able to access your account.

    We always recommend using unique passwords and enable two-factor authentication if possible. Make sure you are secure.
  • Be sure to join the discussion on our discord at: Discord.gg/serebii
  • If you're still waiting for the e-mail, be sure to check your junk/spam e-mail folders

Help with regular expressions

Dragonfree

Just me
Well, basically I'm editing (for my site) a rather cheap free guestbook script I found somewhere online, which does not have a lot of features. Therefore I started adding them through some tweaking of my own (during which I found out that Visual Basic comes straight from Hell - I'm thinking about attempting to rewrite the code in C#).

Now, I was wondering if I could make a regular expression to parse either UBBCode or HTML for bold, italic and underlined text, only if both the opening and closing tags are included. The problem is that even though I've spent the last few hours reading tutorials for regular expressions, I still don't get it.

Any help on how to do that particular thing? =/

EDIT: Found out. Sorry for the bother.
 
Last edited:
Top