Convert, clean, analyze and format text online
Basic Patterns:
. - Any single character\d - Any digit (0-9)\w - Any word character (a-z, A-Z, 0-9, _)\s - Any whitespace^ - Start of line$ - End of lineQuantifiers:
* - 0 or more times+ - 1 or more times? - 0 or 1 time{3} - Exactly 3 times{2,5} - Between 2 and 5 timesExamples:
\d{3}-\d{4} - Find phone numbers like 555-1234\b[A-Z]\w+ - Find words starting with capital letter^\s+ - Find leading whitespace at start of lines\s{2,} - Find 2 or more consecutive spaces[aeiou] - Find any vowelJSON Tools:
CSV Tools:
Conversion Tools: