RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Html Hex colors in Php
Expression
/#([1-9]){2}([1-9]){2}([1-9]){2}/
Description
Replace with: #$1$2$3 This is used to find hex colors (#665533) and make them into shorthand if possible (#653)
Matches
#665544, #444444
Non-Matches
#435643, #434343
Author Rating: Not yet rated. David Hobs
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials