You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- update test text in regex tester with more diverse pattern examples
- replace string concatenation with character-by-character marking system for highlighting
- fix potential issues with overlapping matches in highlighting
- add proper tracking of match start/end positions
- ensure HTML escaping is applied correctly
- refactor match display code for better readability
<textareaid="test-text" class="form-input" placeholder="Enter text to test against the regular expression..." aria-label="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.
608
+
<textareaid="test-text" class="form-input" placeholder="Enter text to test against the regular expression..." aria-label="Test text">RegEx Lab User Guide - April 13, 2025
609
609
610
-
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 [email protected]. 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.
610
+
Contact Information:
611
+
John Smith (Customer ID: ABC123) from Sydney, Australia can be reached at [email protected] or via his alternate email address [email protected]. His US office phone is 555-123-4567, while his direct line is 5551234567. UK colleagues can reach him at 07700900123.
611
612
612
-
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).
613
+
Technical Details:
614
+
The company website is https://www.regex-lab.com with a backup server at http://backup.regex-lab.com/admin. The main server has IP address 192.168.1.1, with additional servers at 10.0.0.1 and 172.16.0.100.
613
615
614
-
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.</textarea>
616
+
Shipping Information:
617
+
US customers: Please allow 3-5 business days for delivery to zip codes like 90210 or extended codes such as 90210-1234.
618
+
Australian customers: Items shipped to postcodes 2000 (Sydney) or 3000 (Melbourne) arrive within 2 business days.
619
+
UK customers: For vehicle deliveries, please provide your registration number (format like AB1234CD) for verification.
620
+
621
+
Important Dates and Times:
622
+
The company was established on 2015-01-15. Our office hours are 09:00 to 17:30 Monday-Friday.
623
+
Our quarterly planning meetings happen at 14:00 on 2025-05-20, 2025-08-15, and 2025-11-10.
624
+
Prices range from $10.99 to $2,499.99 depending on configuration.
625
+
626
+
Security Notice:
627
+
Never share your Social Security Number (e.g., 123-45-6789) or password (like Password123) with anyone.
628
+
Customer support will never ask for your full credit card number (e.g., 4111111111111111).</textarea>
0 commit comments