PHP Preg Replace Tester
Test PHP preg_replace function online. Perform regular expression search and replace operations.
Javascript regex format (e.g. /pattern/gi)
Note on Compatibility
This tool uses JavaScript's RegExp. While very similar to PHP's PCRE, some advanced features (like lookbehinds in older browsers or specific PCRE modifiers) might behave differently.
PHP Preg Replace Tester
Test regular expression replacements similar to PHP's `preg_replace()`. Note: This tool uses JavaScript Regex which is very similar but has slight differences from PCRE used in PHP.
Related Tools
Discover more tools that might interest you.
Here are some related and popular tools you might find useful!
Claymorphism CSS Generator
Create stunning clay-like 3D design effects with custom CSS code. Generate claymorphism styles with live preview.
CSS Beautifier
Format and beautify CSS code. Convert minified or messy CSS into clean, readable, properly indented stylesheets.
CSS Glassmorphism Generator
Create stunning glassmorphism effects with backdrop blur. Generate modern frosted glass UI designs with CSS.
CSS Gradient Generator
Create stunning CSS gradients with live preview. Generate linear and radial gradients with multiple color stops.
CSS Loader Generator
Generate beautiful CSS loading spinners and animations. Create custom loaders with pure CSS - no images required.
CSS Shadow Generator
Create beautiful box-shadow and text-shadow effects with live preview. Generate CSS shadow code instantly.
HTML Beautifier
Format and beautify HTML code. Convert minified or messy HTML into clean, readable, properly indented code.
HTML Encoder & Decoder
Encode and decode HTML entities. Convert special characters to HTML entities and vice versa for safe display in web pages.
Base64 Encoder/Decoder
Easily encode and decode text to and from Base64 format. Features real-time conversion, copy to clipboard, download results, character counter, and sample data. Perfect for encoding data for URLs, APIs, and web development.
Blacklist Lookup
Check if your domain or IP address is blacklisted on 20+ DNS-based blacklists (DNSBL). Protect your email deliverability and website reputation.
Broken Links Finder
Find and fix broken links on your website.
Case Converter
Convert text between uppercase, lowercase, title case, sentence case, and more with our free online case converter tool.
Comments
Sign in or create an account to leave a comment.
No comments yet
Be the first to share your thoughts!