replace href regex Posted on 27.12.201923.12.2019 by mario Maybe this helps someone else, too <a\s+(?:[^>]*?\s+)?href="([^"]*)"