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

Search

You searched for the word(s):
Showing page 1 of 2 (11 total posts) < 1 second(s)
  • Re: pattern ({[|something|]})

    Thanks Susan Your pattern worked and your description was so useful. Now I get these as result :array(3) { [0]=&gt; array(4) { [0]=&gt; string(14) &quot;({[|something1&quot; [1]=&gt; string(14) &quot;({[|something2&quot; [2]=&gt; string(14) &quot;({[|something3&quot; [3]=&gt; string(14) ...
    Posted to Construction Advice (Forum) by googerdi on April 20, 2012
  • Re: pattern ({[|something|]})

    Thanks Susan&nbsp; Here is what i did : $value = &quot;({[|something1|]})({[|something2|]})({[|something3|]})({[|something4|]})&quot;; $pattern = &quot;/\(\{\[\|((?!\|\]\}\)).)+/&quot;; preg_match_all($pattern2,$value,$result); var_dump($result); &nbsp; I get this result&nbsp; array(2) { [0]=&gt; array(4) { [0]=&gt; ...
    Posted to Construction Advice (Forum) by googerdi on April 19, 2012
  • Re: pattern ({[|something|]})

    How can i tell with regular expressions that extract every thing that is between ({[| and |]}). It could be every thing between word, number,white spaces and even punctuations like | ] } ). The only thing that I&#39;ll do before parsing is to remove ({[| and |]}) to prevent extracting unwanted ones. I don&#39;t know how to tell , end when ...
    Posted to Construction Advice (Forum) by googerdi on April 18, 2012
  • Re: pattern ({[|something|]})

    Thanks Susan &nbsp;At first&nbsp; ({[|something1|]})({[|something2|]})({[|something3|]})({[|something4|]}) is pattern and can continue as long as it cans. Second something can be any thing even |]} or {[| .&nbsp; I use this for save something in one field(And I have to do it because overhead of joining is huge and i can&#39;t do it . I have to ...
    Posted to Construction Advice (Forum) by googerdi on April 16, 2012
  • Re: pattern ({[|something|]})

    Thanks Aussie Susan, I&#39;m sorry because i didn&#39;t said exactly.The thing that i want to is this : I save ({[|something1|]})({[|something2|]})({[|something3|]})({[|something4|]}) in table. after fetching it from database i want to extract something1,something2,something3,something4.
    Posted to Construction Advice (Forum) by googerdi on April 10, 2012
  • pattern ({[|something|]})

    Hi, &nbsp; What is regular expression that grep &quot;something&quot;. &nbsp; Thanks in advance
    Posted to Construction Advice (Forum) by googerdi on April 6, 2012
  • how can i get content of a specified tag

    Hi would you offer me a regular expression that can get the content of a special tag that it has another tags in it? for example i want to get content of body tag in an html document.
    Posted to Discussion (Forum) by googerdi on December 25, 2009
  • Re: How to mention all characters except some of them

    As a matter of fact my real pattern was ^teams/(.+)[^/]/([\d]+)/$ but it does not work(Of course it must not work!) When i want to refer to first parentheses it will give me the value in addition to the /. for example in this teams/Some-Team/12314/ , I will get&nbsp; Some-Team/12314/ not Some-Team.
    Posted to Construction Advice (Forum) by googerdi on September 17, 2009
  • How to mention all characters except some of them

    I want to rewrite my url with this format : teams/Any Possible character except slash/74927493/&nbsp;&nbsp;&nbsp; that include these : 1. teams/ 2. any possible character except / (slash) 3. / 4. numbers 5. / &nbsp;I wrote a regular expression for this : ^teams/(.+)/(\d+)/$ This does not work would you tell me how to mention all ...
    Posted to Construction Advice (Forum) by googerdi on September 17, 2009
1 2 Next >