Regex tester
Pattern
Input
"SELECT * FROM table"
"
     SELECT * FROM table"

"""
Use this query here: "SELECT * FROM table"
"""

SELECT * FROM table
Options
Replacement
Click the context tab to see replacements.
4 matches found in about 0 milliseconds.
IndexPositionMatched String$1
010FROMSELECT
140FROMSELECT
291FROMSELECT
3120FROMSELECT
"SELECT * FROM table"
​"
​     SELECT * FROM table"
​
​"""
​Use this query here: "SELECT * FROM table"
​"""
​
​SELECT * FROM table
  1. "SELECT *
  2. SELECT
  3. table"
    "
    SELECT *
  4. SELECT
  5. table"

    """
    Use this query here: "SELECT *
  6. SELECT
  7. table"
    """

    SELECT *
  8. SELECT
  9. table