Regular Expression Tester
Regular Expression:
Regular Expression Examples:
Match names starting with a capital letter
Match any number
Match email addresses
Match email addresses (extended format)
Match URLs
Match numbers with commas as thousands separators
Match UK vehicle registration numbers
Match IP addresses
Match country codes (e.g. US, GB, AU)
Match full names
Match credit card numbers
Match prices with a decimal point (e.g. 10.99)
Match times in the format HH:MM
Match Social Security Numbers
Match US zip codes
Match Australian postcodes
Match US phone numbers
Match Australian phone numbers
Match UK phone numbers
Match dates in the format YYYY-MM-DD
Match any lowercase letter
Match any word
Test Text:
As a resident of the UK, I often find myself perusing the internet for information on different countries. Whether it's the US with its vibrant cities, Australia with its stunning beaches, or other countries around the world, I'm always looking to learn more. One thing I've noticed is that when searching for information, I encounter a lot of different formats, from email addresses and phone numbers to postal codes and credit card numbers. For example, let's say you want to reach out to someone via email. Using a regular expression, you can match any email address, including extended formats like name.surname@domain.com. Similarly, if you're looking for a specific vehicle registered in the UK, you can use a regular expression to match the format of the UK vehicle registration numbers. You can even match phone numbers, whether they're from the US, Australia, or the UK. But regular expressions aren't just limited to matching contact information. You can use them to match a wide range of patterns, like IP addresses, URLs, and even dates in the format YYYY-MM-DD. You can even match times in the format HH:MM, and prices with a decimal point (e.g. 10.99). So whether you're trying to match credit card numbers, social security numbers, or even full names, using regular expressions can help you do it quickly and efficiently.
Replace With:
Test
Replace
Output: