Member since 09/18/2008

Website: http://www.umaniac.com/

Other sites: http://www.codesnippt.com/ needs redoing: http://www.footymania.com/ http://www.engamic.com/ http://www.leafytractor.com/

3 snippets

1 profile views

View their favorites

their Tags


All time reputation: 6


first submission:submitting first snipplet

duniyadnd's Recent Snippets

« Prev 1 Next »
  1. FAV

    Replace space with _

    I'll never learn how to use this Markdown system. Anyway, here is the fixed code based on my comment on the following page: http://snipplr.com/view/14206/replace-spaces-with-underscores/ I'm sorry, I don't mean to hijack the code. :(
    JavaScript 6 views posted 10 years ago duniyadnd
  2. FAV

    Strip URL to domain name

    Alternative to [http://snipplr.com/view/12616/strip-url-to-its-domain-name/](http://snipplr.com/view/12616/strip-url-to-its-domain-name/, "this snippet"), as it didn't come out clearly in the comments. Update - Edited based on gdvickery's commen...
    PHP saved by 3 people 4 views posted 10 years ago duniyadnd
  3. FAV

    preg_match for Hexadecimal Strings

    Figure out if the string possesses only hexadecimal characters in the string. If not, fail. Remember, white spaces are not hexadecimal, so make sure you trim() your strings before you send it in or explode your string.
    PHP 3 views posted 11 years ago duniyadnd
« Prev 1 Next »