grep -E "" input.txt

regex

pattern



test string

matches

enter pattern and text to test

api

curl -X POST https://freeforyou.win/api/regex \
  -H "Content-Type: application/json" \
  -d '{"pattern": "\\d+", "text": "abc123def456"}'