Regex help needed

  • Thread starter Alvin Bruney - ASP.NET MVP
  • Start date
A

Alvin Bruney - ASP.NET MVP

I need help with a regular expressions
the expression should match anything before a /graph?

1114035564 10.30.1.130 78723 220.99 202.61 200 1927262 0 -
/graph?some_stuff_goes_here

1114035564 10.30.1.130 78723 220.99 202.61 200 1927262 0 - should be a
match. I'm having trouble nailing it down

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
 
A

Alvin Bruney - ASP.NET MVP

ya that works, thanks.
what i had was [^\S/] go figure.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



Andy Luksic said:
Try this:

^[^\/]*



Alvin Bruney - ASP.NET MVP said:
I need help with a regular expressions
the expression should match anything before a /graph?

1114035564 10.30.1.130 78723 220.99 202.61 200 1927262 0 -
/graph?some_stuff_goes_here

1114035564 10.30.1.130 78723 220.99 202.61 200 1927262 0 - should be a
match. I'm having trouble nailing it down

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top