Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » Test Tag
  • newbe reqular expresion (?i) [v]+.?[i]+.?[a]+.?[g]+.?[r]+.?[a]+.?

    I am trying to find the word Viagra in a text my regular expression is in the title, I couldn't type it here because of the smilies it finds viagra v i a g r a v_i_a_g_r_a but not v__i_a_g_r_a (two underscore or more) v  iagra (two spaces or more) please help me fix this? I thought + means one or more!!
    Posted to Discussion (Forum) by dirar on December 27, 2007
  • How to Match only the first required in a String

    i have a string like this String s = ftp://root:something@somehost/home/test/testUpload.xml I want to match only the '/' after somehost. I don't want to match any other '/' after that. How can it be done what regular expression can be used? I am trying to use /+ but it is matching with all '/s'. Thanks ...
    Posted to Discussion (Forum) by j_sunish on December 12, 2006