By HamZa

2014-04-08 12:50:35 8 Comments

What is this?

This is a collection of common Q&A. This is also a Community Wiki, so everyone is invited to participate in maintaining it.

Why is this?

is suffering from give me ze code type of questions and poor answers with no explanation. This reference is meant to provide links to quality Q&A.

What's the scope?

This reference is meant for the following languages: , , , , , , .

This might be too broad, but these languages share the same syntax. For specific features there's the tag of the language behind it, example:

  • What are regular expression Balancing Groups?


@aliteralmind 2014-04-08 17:24:18

The Stack Overflow Regular Expressions FAQ

Online tutorials


Character Classes

Escape Sequences


(Also see "Flavor-Specific Information → Java → The functions in Matcher")





Common Tasks

Advanced Regex-Fu

Flavor-Specific Information

(Except for those marked with *, this section contains non-Stack Overflow links.)

General information

(Links marked with * are non-Stack Overflow links.)

Examples of regex that can cause regex engine to fail

Tools: Testers and Explainers

(This section contains non-Stack Overflow links.)

Related Questions

Sponsored Content

11 Answered Questions

[SOLVED] How to negate specific word in regex?

  • 2009-08-06 17:20:45
  • Bostone
  • 591928 View
  • 548 Score
  • 11 Answer
  • Tags:   regex

34 Answered Questions

[SOLVED] RegEx match open tags except XHTML self-contained tags

  • 2009-11-13 22:38:26
  • Jeff
  • 2572182 View
  • 1324 Score
  • 34 Answer
  • Tags:   html regex xhtml

15 Answered Questions

[SOLVED] What is a non-capturing group? What does (?:) do?

39 Answered Questions

[SOLVED] A comprehensive regex for phone number validation

3 Answered Questions

[SOLVED] Match all occurrences of a regex

  • 2008-09-17 05:46:26
  • Chris Bunch
  • 174601 View
  • 558 Score
  • 3 Answer
  • Tags:   ruby regex

11 Answered Questions

7 Answered Questions

[SOLVED] Practicing regex

  • 2009-07-09 01:29:56
  • Victor
  • 6259 View
  • 19 Score
  • 7 Answer
  • Tags:   regex resources

4 Answered Questions

[SOLVED] List of all regex implementations?

3 Answered Questions

[SOLVED] How can we match a^n b^n with Java regex?

1 Answered Questions

[SOLVED] How does this Java regex detect palindromes?

Sponsored Content