Friday, 15 June 2012

Can I capture a label not found in the test string using regex? -


Is it possible to write a rijax that is either (uid = 0) text is found in " root / code> string, otherwise capture normal user name (i.e. scotty )?

Regex does not allow you to capture unavailable anything from the input string. Know the structure, you are a reggae Here's an example that works for the .NET-based regeses taste:

  (? S) (? & Lt; = \ (uid = 0 ). * Opened * \ w + mixed: [0] [0] = scooty  

No comments:

Post a Comment