Yahoo Messenger Status BBCode

  • Halo I try this BBCode, work fine... but I want more validation in input;


    Hope someone can help; :thumbup:

    Sorry for my bad english :D

    Edited once, last by Ferdinand ().

  • Are you developing a yahoo BBCode? I don't understand what you want from us. Validation of the Yahoo ID with RegEx Patterns?

  • I want to show Yahoo Status Messenger (Online/offline) in post/signature...
    And make clickable in image to add in contact;

    Coz the URL and IMG tag not work properly;


    Take a look here


    The code I wrote above is works fine but I want some validation with RegEx Patterns;
    Sorry Im blind about regex;

    Thx for Help

    Sorry for my bad english :D

  • I might have some time to look at it as soon as I am at home again. Is the yahooID alpha-numerical? (All signs from a-z,A-Z and 1-9 allowed) TBH i don't know much about yahoo ;) I just need to know what kind of characters are valid and I can build a regEx Command for you.

    BTW: I moved this thread to the developers corner.

  • This is hint from Yahoo when first time SIgnUp;


    Use 4 to 32 characters and start with a letter. You may use letters, numbers, underscores, and one dot (.)

    All this hint is valid, of course :thumbup:

    Sorry for my bad english :D

  • Just a quick guess for the expression: /([a-z][a-z0-9_.])*{4,32}/si

    Use preg_match for extracting the match. This should work on all 3 examples in your source code.