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

Match simple text - please help

Last post 07-07-2008, 7:30 PM by Aussie Susan. 1 replies.
Sort Posts: Previous Next
  •  07-07-2008, 9:12 AM 43812

    Match simple text - please help

    Hi everybody

     my name is Eloine

     & i am having problem to match a string character ...

     could you help me please

     Here is the group of character 

    I need a regular expression to match it from start to end of the string

     "         <br><br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>"

     please note, that i will use it in my PHP program

     thanks

    Eloine

  •  07-07-2008, 7:30 PM 43848 in reply to 43812

    Re: Match simple text - please help

    Eloine,

    I must ask: why do you need a regex to match the whole string? You must already have the full string so that you can pass it to the regex function! Regex's are normally used to extract portions of a string that meet some no-trivial pattern.

    Anyway,

    ^.*$

    will do as you ask.

    Susan 

View as RSS news feed in XML