Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » remove
  • Remove unwanted spaces with regex

    Hi, first of all my experience with regex are very low. But now I have problem which seems to be suitable for handling with regular expressions. My problem is the following: I have a string which can start with some tab characters (0-n times) followed by some spaces (0-n times) and then some other user data (beginning with a non space). I want ...
    Posted to Construction Advice (Forum) by martin_de on March 7, 2011
  • Remove / Replace characters between specific points in a file name

    I'm attempting to use PCRE as part of my scripting and have hit a mental block. Regex is not a strong point for me so please bear with me. What I have is a file name such as this one: My music name (Album Name - Artist Name) 2010_12_15_14_45_55 0001.mp3 What I want to do is remove the date/time/unique number from the name which was ...
    Posted to Construction Advice (Forum) by gritts on January 16, 2011
  • simple regex to strip mail server subdomains (PHP)

    Hi, newbie question here.. I am working on a visitor tracker and statistics system in PHP, and i would like to be able to strip server names from common webmail providers such as windows live and yahoo. I could do it with strpos and etc, i guess, but i also would like to understand a bit more about regular expressions, wich are totally obscure for ...
    Posted to Construction Advice (Forum) by neurostatic on February 8, 2009